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.
I have this menu:
Projects
--Data
--Type
--Year
Proyectos
--Datos
--Tipo
--Año
All submenus are list of projects, so when a project its open I need to make active the referer page (Data,Type,Year). So how can I make it active?.
Thanks in advance.
Comments
Comment #1
FiNeX CreditAttribution: FiNeX commentedI have the same problem :-(
Comment #2
etion CreditAttribution: etion commentedI solved it in that way, I dont know if its the correct way but it works.
Comment #3
FiNeX CreditAttribution: FiNeX commentedYour solution is difficult to mantain: every time you add a node you've to edit the sourcecode.
I've partially solved with http://drupal.org/project/nodetrail which works in a lot of use cases (not all, but the most generic).
Comment #4
Lukas von Blarerhi etion
where have you put that code?
is there a better solution?
thanks
lukas
Comment #5
Lukas von Blarerhi again
i do the following:
the first echo returns the right page title, the second one doesnt.
any ideas?
thanks
lukas
Comment #6
JohnAlbin