Seems like an obviously needed feature... but I suppose it's hard to do.

CommentFileSizeAuthor
#2 menutrails_termpages.patch3.33 KBmoonray
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Anonymous’s picture

I have the same need, why not put every vocabulary under any menu so all the terms under this vocabulary will have this menu as trail.

moonray’s picture

Assigned: Unassigned » moonray
FileSize
3.33 KB
moonray’s picture

Status: Active » Needs review
bensquare’s picture

@moonray

thx for trying to make a patch.

I applied it , although I can see there is a new box

"Apply to taxonomy term pages?
If checked, menutrails will also apply to taxonomy term pages."

I checked it, but still it doesn't apply it to my web

eg.term -> austria

it doesn't show the secondary link on top right

http://www.d-client.co.uk/album/austria

but if I go to the node
eg.http://www.d-client.co.uk/album/austria/vienna

the secondary links (trails) shows up properly as expected in the node

aschiwi’s picture

I can confirm that none of the settings for terms work. Underneath "Node types" there are settings for Taxonomy terms. Setting a parent for terms there does not work. Applying the patch and checking the "Apply to taxonomy term pages" appears to not add .active or .active-trail classes to chosen the menu item.

aschiwi’s picture

Any chance to get this in? I am still using this successfully on a site since March.

dnewkerk’s picture

Assigned: moonray » Unassigned
Status: Needs review » Reviewed & tested by the community

I applied the patch from #2 to 6.x-1.x-dev (2010-Oct-08) and confirm that it works as expected.

My use case: I have an "Articles" menu item in my Primary links, which I want to be active whenever a term listing page from my "Topics" vocabulary is displayed. I set this up using the new options provided by this patch (checked the "Apply to taxonomy term pages?" option, and selected the "Articles" primary link for the "Parent item for all terms" option), and it worked perfectly.

I tested the rest of my site and confirmed that Menu Trails is still working correctly on my nodes.

We have two success confirmations so far, so let's get this patch committed. Can anyone point out a use case where it doesn't work? Anything I can do to help?

westie’s picture

Just to note that for views taxonomy_term, this doesn't seem to work. A number of sites - or at least that I have built use views to take over from core for term pages.