// Fix bugs with category positions

This commit is contained in:
rGaillard
2012-09-11 16:33:21 +00:00
parent 9f768e6b61
commit 479861bcc7
4 changed files with 24 additions and 17 deletions
+7 -1
View File
@@ -78,6 +78,7 @@ class Blocktopmenu extends Module
!$this->registerHook('actionObjectManufacturerDeleteAfter') ||
!$this->registerHook('actionObjectProductUpdateAfter') ||
!$this->registerHook('actionObjectProductDeleteAfter') ||
!$this->registerHook('categoryUpdate') ||
!$this->installDB())
return false;
return true;
@@ -805,7 +806,7 @@ class Blocktopmenu extends Module
$this->clearMenuCache();
}
public function hookActionObjectCmsUpdateUpdate($params)
public function hookActionObjectCmsUpdateAfter($params)
{
$this->clearMenuCache();
}
@@ -845,6 +846,11 @@ class Blocktopmenu extends Module
$this->clearMenuCache();
}
public function hookCategoryUpdate($params)
{
$this->clearMenuCache();
}
private function clearMenuCache()
{
$this->_clearCache('blocktopmenu.tpl');