Hi you all,
I have a basic menu in my index page which is always shown (Home-New
page-List pages, etc.)
This menu list is therefore on the layout of the app. However, I would
like to change the color (the class from the CSS) of any item when this
is the current selected item.
The basic way is asking for the â€œcontroller.action_nameâ€ and make a
biiig â€œifâ€ sentence to manage the possibilities:
If controller.action_name=â€new_pageâ€ then
Is there any other short way?