// Fix bugs with category positions
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user