I've generated a basic skeleton from PS module validator, installed it and now I'm trying to put it's configuration page link to the BO side-menu. I've read the documentation, I went through some threads online but I can't find out what I am doing wrong. This is the code:
class MyCustomModule extends Module { protected $config_form = false; public function __construct() { $this->name = 'mycustommodule'; $this->tab = 'administration'; $this->version = '1.0.0'; $this->author = 'John Doe'; $this->need_instance = 0; $this->tabs = array( array( 'name' => 'My custom module', 'class_name' => 'AdminMyCustomModule', 'visible' => true, 'parent_class_name' => 'AdminCatalog', )); /** * Set $this->bootstrap to true if your module is compliant with bootstrap (PrestaShop 1.6) */ $this->bootstrap = true; parent::__construct(); $this->displayName = $this->l('My Custom Module'); $this->description = $this->l('Lorem ipsum dolor sit amet.'); $this->ps_versions_compliancy = array('min' => '1.7', 'max' => _PS_VERSION_); } ... }
Of course I've reset the module, even tried uninstalling and installing it again. My new menu tab just doesn't appear.
Thank you.