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.
using marinelli 7.x-3.0-beta6 in combination with multilingual 7.x-1.0-alpha1 (multilingual variables) to display different menu's for different languages (using menu_main_links_source & menu_secondary_links_source)
this works if you use the primary menu settings "classic primary links", but not if you use "mega drop down"
Comments
Comment #1
arnevt CreditAttribution: arnevt commentedin template.php i put
// primary links markup
if (theme_get_setting('menu_type') == 2) { // use mega menu
$vars['mainmenu'] = theme('mega_menu', array('menu' => menu_tree_all_data(variable_get('menu_main_links_source', 'main-menu'))));
}
instead of menu_tree_all_data('main-menu')
this solved the issue (for now)
Comment #2
mavimo CreditAttribution: mavimo commentedMenu is configurable into next release (default main-menu).
Duplicate of 1022154.