// fix newsletter block

This commit is contained in:
mMarinetti
2011-12-02 17:21:24 +00:00
parent 3d41d4c6fa
commit 7733bc9efe
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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),
+1 -1
View File
@@ -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');
} }