Jump to content

Adding module links in the back-office side menu - Show tab as active


Recommended Posts

Hello,

I started programming a module for Prestashop 8 and want to add an extra tab in the side menu bar. I was following this tutorial from the docs: https://devdocs.prestashop-project.org/1.7/modules/concepts/controllers/admin-controllers/tabs/

Everything is working so far apart from showing that the tab as active (It gets darker and a blue highlighting) when I click on it.

How can I achieve that? Any suggestions?

The stats screenshot shows how I want it to look like when I switch to my own tab (pc-componentes). Currently my own tab does not get highlighted at all. 

 

Screenshot from 2022-12-20 12-31-02.png

Screenshot from 2022-12-20 12-30-51.png

Edited by Jo089321 (see edit history)
Link to comment
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
×
×
  • Create New...