// Install

This commit is contained in:
Damien Metzger
2013-11-18 20:35:42 +01:00
parent bde8d02c81
commit f4560d0899
3 changed files with 10 additions and 2 deletions
+8
View File
@@ -675,10 +675,18 @@ class HomeSlider extends Module
return $this->display(__FILE__, 'homeslider.tpl', $this->getCacheId());
}
public function getCacheId($name = null)
{
if ($name === null && isset($this->context->smarty->tpl_vars['page_name']))
return parent::getCacheId($this->context->smarty->tpl_vars['page_name']->value);
return parent::getCacheId($name);
}
public function hookTop()
{
return $this->hookDisplayHome();
}
public function clearCache()
{
$this->_clearCache('homeslider.tpl');