[*] FO : Possibility of hook blocknewsletter in footer

This commit is contained in:
marcinsz101 committed 2013-01-04 12:35:14 +01:00
1 parent 20fa64b05b
commit 9bd5e530b6
1 file changed
+7
@@ -512,6 +512,13 @@ class Blocknewsletter extends Module
return $this->display(__FILE__, 'blocknewsletter.tpl'); return $this->display(__FILE__, 'blocknewsletter.tpl');
} }
// Possibility to hook newsletter in footer, great for theme developers
public function hookFooter($params)
{
$this->_prepareHook($params);
return $this->display(__FILE__, 'blocknewsletter.tpl');
}
public function hookDisplayHeader($params) public function hookDisplayHeader($params)
{ {
$this->context->controller->addCSS($this->_path.'blocknewsletter.css', 'all'); $this->context->controller->addCSS($this->_path.'blocknewsletter.css', 'all');