// Module changes for new native template

This commit is contained in:
aFolletete
2011-11-14 10:56:15 +00:00
parent 33528a2cdc
commit a45cd52f13
10 changed files with 293 additions and 171 deletions
+6 -1
View File
@@ -146,7 +146,7 @@ class BlockCart extends Module
if
(
parent::install() == false
OR $this->registerHook('rightColumn') == false
OR $this->registerHook('top') == false
OR $this->registerHook('header') == false
OR Configuration::updateValue('PS_BLOCK_CART_AJAX', 1) == false
)
@@ -188,5 +188,10 @@ class BlockCart extends Module
if ((int)(Configuration::get('PS_BLOCK_CART_AJAX')))
$this->context->controller->addJS(($this->_path).'ajax-cart.js');
}
public function hookTop($params)
{
return $this->hookRightColumn($params);
}
}