menu_tree_build() gets the "current path" by checking $_GET['q'] directly. That is wrong for multiple reasons, not the least of which is that it means other modules, such as menu_position, that mess with the menu trail without altering $_GET['q'] then are unsupported.
Patch coming in a moment, but I need an issue ID for it. :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1524674-menu_position.patch | 1.01 KB | Crell |
Comments
Comment #1
Crell commentedAnd patch.
This may not be the correct solution, since the menu system has a dozen different definitions of "current path", none of which match, but it "works for me"(tm).
Comment #2
Crell commentedDuh.
Comment #3
dave reidI wonder if this is related to #853462: Use menu_build_tree()
Comment #4
johnalbinFixed! Thanks, Larry.
Comment #5
johnalbinHere's the commit diff. http://drupalcode.org/project/menu_block.git/commitdiff/fa4afaa