Notes and links on hacking in a custom active state path for menu links
<?php
function feature_frontend_preprocess_links(&$variables) {
kpr($variables);
}
?>... (Array, 5 elements)
links (Array, 6 elements)
menu-975 (Array, 3 elements)
menu-356 (Array, 3 elements)
menu-358 active-trail (Array, 3 elements)
attributes (Array, 2 elements)
title (String, 4 characters ) News
class (Array, 1 element)
0 (String, 12 characters ) active-trail
href (String, 4 characters ) news
title (String, 4 characters ) News
menu-359 (Array, 3 elements)
menu-456 (Array, 3 elements)
menu-899 (Array, 3 elements)
https://drupal.org/project/menu_position
The big core issue:
Custom menus never receive an active trail
http://drupal.org/node/942782
Menu item in active trail is not expanded
http://drupal.org/node/1060974
Contact Menu - missing ".active-trail" class
http://drupal.org/node/1062776
missing active-trail class in front page primary links menu
http://drupal.org/node/1035020
Active trail being set incorrectly
http://drupal.org/node/1040002
Active trails for menu items in Drupal 7
http://www.designhammer.com/blog/active-trails-menu-items-drupal-7
http://data.agaric.com/why-isnt-drupals-one-run-time-menu-item-altering-hook-getting-run
Port menutrails module to d7
http://drupal.org/node/940206#comment-4897132
If none of the above makes sense, i do have it working in (i think) feature_frontend.module in the SDL project, and so can look it up there.
More like this
- Faking an active trail for items not in a menu: Drupal 7 active state for main menu based on content type
- Active state of primary links should follow main sections even without menus
- Adding non-menu things to primary links menu items with Drupal 7's page alter hook
- Return user to current page: How to link to a form from a Drupal menu
- Fixing Menu Block for menu items with the same path (that also have another valid path)


Comments
It also will enable one
It also will enable one Windows 8 to edit records saved in Microsoft Windows 8 your server also once you are Office 2010 using the help of Microsoft Office 2010 . These modifications are instantly MS Office 2010 synchronized once you arrive Office 2010 Download . Download Office 2010 this can not merely Office 2010 Professional help you spend less time but money as Microsoft Office 2010 Download really nicely by aiding one to set up and operate company business office around the private computer, laptop, Online, and sensible phones.
Microsoft Office 2011 gorgeous exhibits with company Office 2007 which can make you Microsoft Office 2007 standout from some others. It creates it MS Office 2007 feasible for yourself to create Office 2007 Download incredible presentations by incorporating Office 2007 Professional electronic digital content Download Office 2007 material and films in Microsoft Office 2007 Professional . These displays are effortlessly Microsoft Office 2007 Download developed with out Windows 7 any Buy Windows 7 need of high priced resource. You will make Microsoft Windows 7 your displays witnessed to Win 7 everybody during the sort of Download Windows 7 .
Post new comment