// Themeconfigurator and homeslider

This commit is contained in:
Jerome Nadaud
2013-11-18 20:49:52 +01:00
parent c451ee1bd8
commit f2b5e6de51
11 changed files with 89 additions and 14 deletions
+2 -7
View File
@@ -60,7 +60,7 @@ class HomeSlider extends Module
public function install()
{
/* Adds Module */
if (parent::install() && $this->registerHook('displayHome') && $this->registerHook('actionShopDataDuplication'))
if (parent::install() && $this->registerHook('displayTop') && $this->registerHook('actionShopDataDuplication'))
{
/* Sets up configuration */
$res = Configuration::updateValue('HOMESLIDER_WIDTH', '779');
@@ -660,7 +660,7 @@ class HomeSlider extends Module
return true;
}
public function hookDisplayHome()
public function hookDisplayTop()
{
if(!$this->_prepareHook())
return;
@@ -682,11 +682,6 @@ class HomeSlider extends Module
return parent::getCacheId($name);
}
public function hookTop()
{
return $this->hookDisplayHome();
}
public function clearCache()
{
$this->_clearCache('homeslider.tpl');