Menutrails assignment fails if menu item is in ANY active trail..

acstewart - May 28, 2009 - 18:37
Project:Menu Trails
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:reviewed & tested by the community
Description

For example, I have two menus.. one is primary links (the target of menutrails), and the other is a left navigation.

If the current item appears in the left navigation, then the css class won't be added to primary links.

Here's a patch that fixes the problem.

AttachmentSize
menutrails-multimenu.patch871 bytes

#1

chellman - June 9, 2009 - 15:55

I had the same issue, where some nodes are under secondary-links instead of primary-links. This patch seems to have fixed that problem.

I have the Menutrails menu set to Primary Navigation, but this allows nodes that aren't under there to be marked. Good stuff.

I assume we need more than just one reviewer before it's RTBC?

#2

sun - July 24, 2009 - 15:07

Hm. Shouldn't both (or all) items in all menus be marked active?

#3

maxray - August 19, 2009 - 15:01
Status:needs review» reviewed & tested by the community

This fix worked a treat for me.

#4

momendo - September 11, 2009 - 15:45

sub

 
 

Drupal is a registered trademark of Dries Buytaert.