From c574b04a636d9a687b99206633e497e076289088 Mon Sep 17 00:00:00 2001
From: gRoussac
{foreach from=$upgrade_available item='module'}
-
diff --git a/modules/blockbanner/blockbanner.tpl b/modules/blockbanner/blockbanner.tpl
index 9604d6c1a..da0b77b28 100644
--- a/modules/blockbanner/blockbanner.tpl
+++ b/modules/blockbanner/blockbanner.tpl
@@ -22,7 +22,6 @@
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
-
-
+
\ No newline at end of file
diff --git a/modules/blockcontact/blockcontact.php b/modules/blockcontact/blockcontact.php
index b11a3e0d6..3fddf9ce1 100644
--- a/modules/blockcontact/blockcontact.php
+++ b/modules/blockcontact/blockcontact.php
@@ -33,9 +33,9 @@ class Blockcontact extends Module
{
$this->name = 'blockcontact';
$this->tab = 'front_office_features';
- $this->version = '1.0';
+ $this->version = '1.1';
- $this->bootstrap = true;
+ $this->bootstrap = true;
parent::__construct();
$this->displayName = $this->l('Contact Block');
@@ -47,7 +47,7 @@ class Blockcontact extends Module
return parent::install()
&& Configuration::updateValue('blockcontact_telnumber', '')
&& Configuration::updateValue('blockcontact_email', '')
- && $this->registerHook('displayRightColumn')
+ && $this->registerHook('displayNav')
&& $this->registerHook('displayHeader');
}
@@ -74,12 +74,12 @@ class Blockcontact extends Module
return $html;
}
- public function hookDisplayHeader()
+ public function hookDisplayHeader($params)
{
$this->context->controller->addCSS(($this->_path).'blockcontact.css', 'all');
}
- public function hookDisplayRightColumn()
+ public function hookDisplayRightColumn($params)
{
global $smarty;
if (!$this->isCached('blockcontact.tpl', $this->getCacheId()))
@@ -90,9 +90,15 @@ class Blockcontact extends Module
return $this->display(__FILE__, 'blockcontact.tpl', $this->getCacheId());
}
- public function hookDisplayLeftColumn()
+ public function hookDisplayLeftColumn($params)
{
- return $this->hookDisplayRightColumn();
+ return $this->hookDisplayRightColumn($params);
+ }
+
+ public function hookDisplayNav($params)
+ {
+
+ return $this->hookDisplayRightColumn($params);
}
public function renderForm()
diff --git a/modules/blockcontact/config.xml b/modules/blockcontact/config.xml
index 967c3ddaa..2bb59c1ae 100644
--- a/modules/blockcontact/config.xml
+++ b/modules/blockcontact/config.xml
@@ -2,7 +2,7 @@