Closed (fixed)
Project:
Menu Block
Version:
7.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 12:36 UTC
Updated:
25 May 2011 at 19:15 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
johnalbinBonus! Matt Farina wrote up a little module to try to fix this. I'm going to incorporate that code in Menu block.
https://github.com/mattfarina/custom_menu_active_trail
Comment #2
johnalbinFixed!
http://drupal.org/cvs?commit=475820
Comment #4
arrancia commentedI guess somethings changed in Drupal core so the fix for adding the custom menus to the menus array still needs but the fix for fixing the custom trail is fixed in Drupal core, so now this fix is causing a bug with i18n module and miltilanguage menu items pointing to same path. It always put the active trail on the first defined menu for a path and does not respect the language so i removed it and it worked gre8. Here is patch if someone can test it it would be awesome.
Comment #5
dave reidI don't see that #942782: Custom menus never receive an active trail has actually been committed. Please file a new issue regardless.
Comment #6
arrancia commentedI am new in this drupal story so i dont really understand what you just said. I just found this bug with menu block and multilanguage menu items so i figure out the solution. Either way Menu Blocks on the latest stable drupal works without this function great (with or without multilanguage) so i thought i could share and save some other people two days of debugging.
Comment #7
ergophobe commentedSince it took me a while to find the relevant commit b/c this is pre-git...
The issue with the patch is here #1017142: except for one menu, all other menus (including books) never receive an active trail and has a link to the commit in msg #7