// new modules hooked for default theme, fixed hook names
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11087 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -58,7 +58,7 @@ class BlockSupplier extends Module
|
||||
return true;
|
||||
}
|
||||
|
||||
function hookLeftColumn($params)
|
||||
function hookDisplayLeftColumn($params)
|
||||
{
|
||||
$this->context->smarty->assign(array(
|
||||
'suppliers' => Supplier::getSuppliers(false),
|
||||
@@ -125,12 +125,12 @@ class BlockSupplier extends Module
|
||||
return $output;
|
||||
}
|
||||
|
||||
function hookRightColumn($params)
|
||||
function hookDisplayRightColumn($params)
|
||||
{
|
||||
return $this->hookLeftColumn($params);
|
||||
return $this->hookDisplayLeftColumn($params);
|
||||
}
|
||||
|
||||
function hookHeader($params)
|
||||
function hookDisplayHeader($params)
|
||||
{
|
||||
$this->context->controller->addCSS(($this->_path).'blocksupplier.css', 'all');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user