// fix newsletter block
This commit is contained in:
@@ -230,7 +230,8 @@ INSERT INTO `PREFIX_hook_module` (`id_module`, `id_hook`, `position`) VALUES
|
|||||||
(64, 25, 1),
|
(64, 25, 1),
|
||||||
(64, 40, 1),
|
(64, 40, 1),
|
||||||
(64, 96, 1),
|
(64, 96, 1),
|
||||||
/* block */
|
/* blocknewsletter */
|
||||||
|
(65, 9, 24),
|
||||||
(65, 6, 8),
|
(65, 6, 8),
|
||||||
/* blocksupplier */
|
/* blocksupplier */
|
||||||
(66, 7, 9),
|
(66, 7, 9),
|
||||||
|
|||||||
@@ -483,7 +483,7 @@ class Blocknewsletter extends Module
|
|||||||
return $this->display(__FILE__, 'blocknewsletter.tpl');
|
return $this->display(__FILE__, 'blocknewsletter.tpl');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function hookHeader($params)
|
public function hookDisplayHeader($params)
|
||||||
{
|
{
|
||||||
$this->context->controller->addCSS(($this->_path).'blocknewsletter.css', 'all');
|
$this->context->controller->addCSS(($this->_path).'blocknewsletter.css', 'all');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user