I have quite a lot of unique code in the drupal site I'm developing, so I'm not sure if this is simply a bug, or something which has already been dealt with. Breadcrumbs were not showing up when I viewed a node, so I traced it to the function localizermenu_expandmenu(), in localizermenu.module, line 89.
Effectively I changed the code from (line 99)
if($_menu['visible'][$_mid]['type'] & MENU_VISIBLE_IN_BREADCRUMB) {
to
if(menu_in_active_trail($_mid)) {
to make it function correctly.
I'm not sure if this breaks the code, or solves some kind of problem. But for some reason the menu item is showing up in the trail, but doesn't have it's MENU_VISIBLE_IN_BREADCRUMB set. Again, this is possibly a result of some creative coding with templates.
Comments
Comment #1
rhys commentedI'm not sure this is still relevant, so I'm closing it due to the Drupal version being very much outdated.