Quantcast
Viewing all articles
Browse latest Browse all 291687

Active trail for pages with multiple menu items should not prefer a disabled item

When multiple menu items point to the same page, the active trail is selected from the higher-preference menu, even if the item in that menu is disabled.

Consider two menus:

Navigation
- Nav Page One (node/1)
-- Nav Page Two (node/2) [disabled]
MyMenu
- My Page One (node/1)
-- My Page Two (node/2)

The active trail will show the Navigation menu item (Nav Page One) even though the menu item for node/2 is disabled.

See also:
#1808280: Many menu items for one node results in incorrect menu trail
#1875824: Active trail should favor "non-customized" menu items
#1627276: Active trail system does not respect whether a menu is set as inactive or preferred using menu_set_active_menu_names()


Viewing all articles
Browse latest Browse all 291687

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>