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

arnevt’s picture

in 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)

mavimo’s picture

Status: Active » Needs review

Menu is configurable into next release (default main-menu).

Duplicate of 1022154.