[*] MO: Add smarty cache on some modules

This commit is contained in:
Rémi Gaillard
2013-01-07 17:09:36 +01:00
parent 8bd07c5b87
commit e1664bbdfb
14 changed files with 136 additions and 95 deletions
+2 -3
View File
@@ -509,13 +509,12 @@ class Blocknewsletter extends Module
public function hookDisplayLeftColumn($params)
{
$this->_prepareHook($params);
return $this->display(__FILE__, 'blocknewsletter.tpl');
return $this->display(__FILE__, 'blocknewsletter.tpl', $this->getCacheId());
}
public function hookFooter($params)
{
$this->_prepareHook($params);
return $this->display(__FILE__, 'blocknewsletter.tpl');
return $this->hookDisplayLeftColumn($params);
}
public function hookDisplayHeader($params)