dukas Posted October 8, 2013 Share Posted October 8, 2013 Hi all, I'm new to prestashop, and this is my quesetion, How to generate a vertical menu in back office like this one in the attached file? is it already possible? Thanks in advance. Link to comment Share on other sites More sharing options...
PascalVG Posted October 9, 2013 Share Posted October 9, 2013 Hi Dukas, the "menu" you see are actually Tabs. A click on any of the tab items opens a new "page" (Tab page) where you can do other things, but all related to a product. The tabs are created using three (maybe more??) files: classes/Tab.php, classes/AdminTab.php and controllers/admin/AdminTabsController. also a javascript file: /js/productTabsmanager.js for the product tab you referred to. Never had a good look at how to use them though, so cannot help you here. But maybe this helps you to start exploring... My 2 cents, pascal 1 Link to comment Share on other sites More sharing options...
PascalVG Posted October 9, 2013 Share Posted October 9, 2013 Dukas, maybe download this module, where an additional tab is created and added to the product admin page. Have a look at the code; You may get a feeling for what is needed. http://www.prestashop.com/forums/topic/175219-free-module-extra-product-info-tab-module/ pascal 1 Link to comment Share on other sites More sharing options...
dukas Posted October 9, 2013 Author Share Posted October 9, 2013 Hi Dukas, the "menu" you see are actually Tabs. A click on any of the tab items opens a new "page" (Tab page) where you can do other things, but all related to a product. The tabs are created using three (maybe more??) files: classes/Tab.php, classes/AdminTab.php and controllers/admin/AdminTabsController. also a javascript file: /js/productTabsmanager.js for the product tab you referred to. Never had a good look at how to use them though, so cannot help you here. But maybe this helps you to start exploring... My 2 cents, pascal Hi Pascal, Thanks alot for your answer Link to comment Share on other sites More sharing options...
vekia Posted October 9, 2013 Share Posted October 9, 2013 hello i don't understand your question well, you said that you want to create menu, but the question is: where you want to create it? and for what purposes? Link to comment Share on other sites More sharing options...
dukas Posted October 9, 2013 Author Share Posted October 9, 2013 hello i don't understand your question well, you said that you want to create menu, but the question is: where you want to create it? and for what purposes? The question is how to create a menu like that one showing in the image, which classes to use ...? Link to comment Share on other sites More sharing options...
vekia Posted October 10, 2013 Share Posted October 10, 2013 yes i know that you want to create this menu, but where? you've got some module where you want to add this menu? or what? sorry for my missunderstanding Link to comment Share on other sites More sharing options...
dukas Posted October 10, 2013 Author Share Posted October 10, 2013 yes i know that you want to create this menu, but where? you've got some module where you want to add this menu? or what? sorry for my missunderstanding yes i got a module, i want to make navigation in the module in a vertical tab menu (in back office) Link to comment Share on other sites More sharing options...
vekia Posted October 10, 2013 Share Posted October 10, 2013 you will need to create code exactly the same as in /ADMIN/themes/default/template/controllers/products/helpers/form/form.tpl it's a bit complicated, but if you know something about css / js you will achieve it easily 1 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