Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I think it is related to this module.
First I patched the taxonomy_menu_trails module to look for right menu link, if it exists in current language, then fall back without condition. this ok.
Again that module do menu_tree_set_path($selected_item['menu_name'], $selected_item['link_path']); (correct)
then:
if (module_exists('menu_block')) {
// Also set preferred item for Menu Block module
$mb_preferred_links = &drupal_static('_menu_link_get_preferred');
$mb_preferred_links[$_GET['q']][$selected_item['menu_name']] = $selected_item;
}
what has to be changed here?
I'm using superfish, but I do not think it's that the problem.
Comments
Comment #1
smartango CreditAttribution: smartango commentedI solved this with a query tag and hook_query_TAG_NAME_alter() in taxonomy_menu_trails:
and adding that tag to core menu.inc
here http://drupal.org/node/1627276 the tag name proposed is translatable, but it should be checked tables name .. it works for me now I would fix in future.
Comment #1.0
smartango CreditAttribution: smartango commentedphp format