|
|
@@ -23,7 +23,7 @@ class Chcreateur extends Module implements WidgetInterface
|
|
|
$this->need_instance = 0;
|
|
|
$this->ps_versions_compliancy = [
|
|
|
'min' => '1.6.0',
|
|
|
- 'max' => '1.7.9',
|
|
|
+ 'max' => '8.4',
|
|
|
];
|
|
|
$this->bootstrap = true;
|
|
|
parent::__construct();
|
|
|
@@ -50,7 +50,7 @@ class Chcreateur extends Module implements WidgetInterface
|
|
|
&& $this->registerHook('displayHeader')
|
|
|
&& $this->registerHook('ModuleRoutes')
|
|
|
&& $this->registerHook('ActionFrontControllerSetVariables')
|
|
|
- //&& $this->Register_SQL()
|
|
|
+ && $this->Register_SQL()
|
|
|
&& $this->_installTab()
|
|
|
&& Configuration::updateValue('CHCREATEUR_TITLE', 'Nos createurs')
|
|
|
&& Configuration::updateValue('CHCREATEUR_URL', 'nos-createurs')
|
|
|
@@ -515,7 +515,7 @@ class Chcreateur extends Module implements WidgetInterface
|
|
|
*/
|
|
|
public function renderWidget($hookName = null, array $configuration = [])
|
|
|
{
|
|
|
- if ($hookName == 'displayxipblogleft') {
|
|
|
+ if ($hookName == 'displayleft') {
|
|
|
$this->smarty->assign($this->getWidgetVariables($hookName, $configuration));
|
|
|
return $this->fetch('module:'.$this->name.'/views/templates/front/left-list.tpl');
|
|
|
|
|
|
@@ -586,7 +586,7 @@ class Chcreateur extends Module implements WidgetInterface
|
|
|
return $base.$shop->getBaseURI();
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ /*
|
|
|
public static function XipBlogPostLink($params = array())
|
|
|
{
|
|
|
$url_format = Configuration::get(self::$xipblogshortname."url_format");
|
|
|
@@ -614,6 +614,7 @@ class Chcreateur extends Module implements WidgetInterface
|
|
|
$rule = 'xipblog-single-module';
|
|
|
}
|
|
|
}
|
|
|
+ */
|
|
|
|
|
|
public function hookActionFrontControllerSetVariables()
|
|
|
{
|