Closed (won't fix)
Project:
Menu Trails
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2007 at 16:36 UTC
Updated:
24 Jul 2009 at 16:09 UTC
Apparently, when a page falls into multiple categories, menu trails picks one (probably the first) and marks the appropriate parts of the menu active. However, I would prefer if menu trails takes into account term should be chosen to base the menu trail on. An example:
Page A is categorized with term X and Y.
This causes the page to be listed on .../taxonomy/term/X and .../taxonomy/term/Y. Each can (and in my case do) have different menus.
Now if a visitor clicks on page A and comes from .../taxonomy/term/X, menu trails should make that particular trail active. The same holds if a visitor clicks on page A and comes from .../taxonomy/term/Y.
Comments
Comment #1
pvanderspek commentedBy the way, the problem listed in this post is similar to what I´m referring to: http://drupal.org/node/149043
I'd prefer the solution to be implemented in menu trails, but this might work as well?
Comment #2
pvanderspek commentedWell I did some hacking to the module code and this is what I came up with:
I added the HTTP_REFERRER code to 'menutrails_node_location' and it seems to work. Hopefully this can be added to the code of the module. For now, I'll leave my personnally modified version in place.
Comment #3
pvanderspek commentedIt's over a month since I posted this ticket. Has anything been done with it?
Comment #4
sunSorry, Menu Trails for Drupal 5 is not actively developed/maintained anymore. Only issues containing patches may still be considered. Feel free to re-open this issue if you want to provide a patch.