Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Seems like an obviously needed feature... but I suppose it's hard to do.
Comment | File | Size | Author |
---|---|---|---|
#2 | menutrails_termpages.patch | 3.33 KB | moonray |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI 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.
Comment #2
moonray CreditAttribution: moonray commentedComment #3
moonray CreditAttribution: moonray commentedComment #4
bensquare CreditAttribution: bensquare commented@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
Comment #5
aschiwi CreditAttribution: aschiwi commentedI 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.
Comment #6
aschiwi CreditAttribution: aschiwi commentedAny chance to get this in? I am still using this successfully on a site since March.
Comment #7
dnewkerk CreditAttribution: dnewkerk commentedI 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?
Comment #8
westie CreditAttribution: westie commentedJust 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.