jemmeli Posted May 29, 2013 Share Posted May 29, 2013 (edited) hello I am wondering how can I create a new sub-menu item in back-office, for example under the "catalog" menu item how can I add new sub item named "texture" is it possible to accomplish this via a module developpment under prestashop 1.5 ? Edited May 29, 2013 by jemmeli (see edit history) Link to comment Share on other sites More sharing options...
jemmeli Posted May 30, 2013 Author Share Posted May 30, 2013 no repley on this topic Link to comment Share on other sites More sharing options...
PascalVG Posted May 30, 2013 Share Posted May 30, 2013 Do you mean this? http://docs.prestashop.com/display/PS15/Administering+The+Back-Office#AdministeringTheBack-Office-Menus My 2 cents, pascal 1 Link to comment Share on other sites More sharing options...
jemmeli Posted May 30, 2013 Author Share Posted May 30, 2013 yes PascalVG I want to do somthing like this but I want to know if it's possible throughout a module developpement ? Link to comment Share on other sites More sharing options...
jemmeli Posted May 30, 2013 Author Share Posted May 30, 2013 (edited) I found the solution it is like this : public function install() { // Création de l'onglet $parent_tab = new Tab(); $parent_tab->name = 'Passerelle Volume'; $parent_tab->class_name = 'AdminMainVolume'; $parent_tab->id_parent = 0; $parent_tab->module = $this->name; $parent_tab->add(); // Sous menu de l'onglet ci-dessus $tab = new Tab(); $tab->name = 'Lien menu 1'; $tab->class_name = 'AdminVolume'; $tab->id_parent = $parent_tab->id; $tab->module = $this->name; $tab->add(); if (!parent::install()) return false; return true; } Edited May 30, 2013 by jemmeli (see edit history) 1 Link to comment Share on other sites More sharing options...
franklinfs Posted July 25, 2013 Share Posted July 25, 2013 (edited) Edited July 25, 2013 by franklinfs (see edit history) 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