Levius Posted March 27, 2014 Share Posted March 27, 2014 Good day, I was having a bit of a problem with the admin back office tab. I have create a new module where upon installation a new tab is appended in the back office tabs. The part where the 'Catalog', 'Orders', 'Customer', etc are located. I can see the tab in the database inside the ps_tab table. Upon the installation of the module, I have this code snippet: $tab = new Tab(); foreach(Language::getLanguages(false) as $lang){ $tab->name[(int) $lang['id_lang']] = 'Alipay'; } $tab->class_name = 'Alipay'; $tab->module = 'alipay'; $tab->id_parent = 0; $tab->add(); Link to comment Share on other sites More sharing options...
vekia Posted March 27, 2014 Share Posted March 27, 2014 you forgot to mention something about what kind of problems you've got can you describe it, pleasE? Link to comment Share on other sites More sharing options...
Levius Posted March 28, 2014 Author Share Posted March 28, 2014 Hi.. I'm trying to create a BO tab when the module is installed in prestashop back office. I have the codes above but doesn't seem to be working. Is it possible that when a module is installed a corresponding BO tab will be created? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts