Hi,
When the module runs its magic, it determines the menu item to set active correctly (in main-menu), but when it calls menu_tree_set_path() in menu_trail_by_path.module on line 63, in that function, there are no paths to set active. That is, in menu.inc after line 1181: $paths is NULL.
The 'parent' page is a view page. The 'child' are node detail pages.
The main-menu is rendered as a menu-block using context.
We do have installed:
1. menu modifiers
- menu_admin_per_menu
- menu_block
- menu_target
Are there know issues with any of these?
2. Also using hook_page_delivery_callback_alter()
- context
Might the combination of menu-block and context be the cause of this?
I'll continue to investigate this, but suggestions or insights are most welcome.
Greetings,
Andreas
Comment | File | Size | Author |
---|---|---|---|
xdebug.png | 310.08 KB | andreasderijcke |
Comments
Comment #2
davy-r CreditAttribution: davy-r commentedI don't actually see how menu_admin_per_menu is causing your issue in the menu module, no known issues with other modules exist as far as I'm aware of... Active development happens on the 7.x-3.x-dev branch (stable release scheduled for 1 sept), that branch doesn't rely on menu_tree_set_path() for other reasons. Does that solve your issue?
Comment #3
andreasderijckeOkay, nevermind.
It seems something was off in config. After re-configging all related settings, incl pathauto, it all came through as expected.
Both for version 2.x als 3.x.
Comment #4
davy-r CreditAttribution: davy-r commented