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.
Right now I've done the following:
- I've installed your module, made changes to template.php and configured the module via /admin/settings/menutrails. There I've assigned a parent item "Animal" to the content type "animal".
- Then I've created a new primary menu item "Animals" which points to a view "view 1". When I click on the menu item the view is displayed and the item is marked as active (but I think this is a basic function of Drupal, right?).
- Within View 1 I click on a link to a node "Dog" which is based on the content type "animal". Now the primary menu item is not marked as active anymore. But it should be...
It would be great if someone could tell me how to keep the primary menu item marked as active.
Comments
Comment #1
mvalverde CreditAttribution: mvalverde commentedi've found a solution that works for me patching the menutrails.module
1 . Add the following functions for view handling to the module (right the same way they already exist for nodes) :
2. Add following lines to the already existing 'menutrails_settings_form' function at appropiate place
Sorry for not delivering a patch;) But that should work!
Marco Valverde
www.explido-software.de
Comment #2
blackdog CreditAttribution: blackdog commentedThis doesn't seem to work. Or could you perhaps explain how it's supposed to work, and how it works for you, mvalverde? Thanks.
Comment #3
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.