// Install
This commit is contained in:
1 parent
bde8d02c81
commit
f4560d0899
3 files changed
+10
-2
No files matched your search
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user