menu gurus? question about local tasks and 'active' tab
I'm wrestling with a question related to local tasks and could use some help from a menu guru. As part of the proposed classification approach for projects, I've used tertiary/third-level local tasks as an aid for browsing, see the demo at: http://www.islandnet.com/~nedjo/costarica/?q=project/Modules The code is posted as a patch to the issue at: http://drupal.org/node/33803#comment-56410 The issue has to do with the 'active' secondary task tab. When the tertiary task is the default, the secondary task is correctly highlighted. But for any other third-level task (e.g., in the demo, click on the category 'utility'), the 'active' class selector disappears from the secondary tabs. Apparently, the secondary task is not recognized as being on the active path. Anyone tried to use third-level local tasks before? Any troubleshooting tips? Anyone able to spot what I'm doing wrong? I don't follow the menu.inc code well enough to easily determine where the issue is. Thanks, Nedjo
At 3:15 PM -0800 24/11/05, Nedjo Rogers wrote:
The issue has to do with the 'active' secondary task tab. When the tertiary task is the default, the secondary task is correctly highlighted. But for any other third-level task (e.g., in the demo, click on the category 'utility'), the 'active' class selector disappears from the secondary tabs. Apparently, the secondary task is not recognized as being on the active path.
I had huge problems with the active trail when menu-ifying primary links. Email me a var_export of $menu and I'll wade through it and try to work out what's going wrong. ...Richard.
participants (2)
-
Nedjo Rogers -
Richard Archer