I've set an id that makes menu items hidden in certain circumstances where the link is not needed or even confusing for the user. This works nice but should only work in the menus not in administration pages like the Link list. There I don't want any menu item attribute applied to them. Why? Well for one thing the administrator representation is not the same as the menu itself and as administrator you want to see your menu without any ids or classes applied, because you are actually working and configuring the menu not using it. Administrative functionality should be separated from user functionality.

Comments

thinkdrupal’s picture

A quick solution is to only add your class, id, etc on the menu attribute fields. Don't add anything in the 'style' field. Then add your custom css in a file that applies when the admin menu is not being displayed.

thinkdrupal’s picture

Issue summary: View changes

typo error

joelpittet’s picture

Category: Bug report » Feature request
Issue summary: View changes

This is not a bug report but a feature request. This feature could be implemented in a number of ways, so maybe you can update the summary with a proposal on how you you'd like to see this implemented?