TinoArts Posted June 4, 2020 Share Posted June 4, 2020 (edited) 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. Edited June 8, 2020 by TinoArts Added tag (see edit history) Link to comment Share on other sites More sharing options...
TinoArts Posted June 8, 2020 Author Share Posted June 8, 2020 Bump. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now