i cannot see my module in front-office.
this is my code:
<?php if (!defined('_PS_VERSION_')) exit; class ModuleCarte extends Module{ function __construct() { $this->name = 'modulecarte'; $this->tab = 'front_office_features'; $this->version = 0.1; $this->displayName = $this->l('Module de carte cadeaux'); $this->description = $this->l('Module carte cadeaux pour plusieurs enseignes'); $this->author = 'Cristelle Makuate'; parent::__construct(); $this->confirmUninstall = $this->l('Are you sure you want to uninstall?'); if (!Configuration::get('MYMODULE_NAME')) $this->warning = $this->l('No name provided'); } public function install() { if (Shop::isFeatureActive()) Shop::setContext(Shop::CONTEXT_ALL); if (!parent::install() || !$this->registerHook('leftColumn') || !$this->registerHook('header') || !Configuration::updateValue('MYMODULE_NAME', 'my friend') ) return false; return true; } public function uninstall() { if (!parent::uninstall() || !Configuration::deleteByName('MYMODULE_NAME') ) return false; return true; } } ?>
the file contaning that code is called modulecarte.php and is located in a folder called "modulecarte"
thank you for answering me.