Jump to content

Back office Vertical menu on the left (like product one)


dukas
 Share

Recommended Posts

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.

post-453421-0-14130100-1381268158_thumb.png

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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 :)

Share this post


Link to post
Share on other sites

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 ...?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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

  • Like 1

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More