[-] MO : fixed bug #PSCFV-3751 - Links Block Formatting //need to re-install the module
This commit is contained in:
@@ -51,7 +51,7 @@ class BlockLink extends Module
|
||||
public function install()
|
||||
{
|
||||
if (!parent::install() ||
|
||||
!$this->registerHook('leftColumn') ||
|
||||
!$this->registerHook('leftColumn') || !$this->registerHook('header') ||
|
||||
!Db::getInstance()->execute('
|
||||
CREATE TABLE '._DB_PREFIX_.'blocklink (
|
||||
`id_blocklink` int(2) NOT NULL AUTO_INCREMENT,
|
||||
@@ -108,6 +108,11 @@ class BlockLink extends Module
|
||||
{
|
||||
return $this->hookLeftColumn($params);
|
||||
}
|
||||
|
||||
public function hookHeader($params)
|
||||
{
|
||||
$this->context->controller->addCSS($this->_path.'blocklink.css', 'all');
|
||||
}
|
||||
|
||||
public function getLinks()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user