Closed (fixed)
Project:
Javascript Tools
Version:
5.x-0.8
Component:
Activemenus
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Sep 2007 at 18:16 UTC
Updated:
28 Apr 2008 at 15:44 UTC
The active menu don't work with i18n multilingual menu blocks.
If I change the /jstools/activemenu/modules/menu.inc to that:
<?php
// $Id: menu.inc,v 1.1 2007/01/23 20:14:19 nedjo Exp $
function menu_activemenu() {
$items = array();
$root_menus = menu_get_root_menus();
foreach (array_keys($root_menus) as $mid) {
$items['#block-menu-'. $mid] = 'activemenu/menu';
}
$items['#block-i18nblocks-5'] = 'activemenu/menu';
return $items;
}
it is work fine, but this solution not dynamicly :-(
How can I give the multilingual menu $mid?
Comments
Comment #1
dorion commentedThis is my dirty hack!
Comment #2
nedjoI believe this is now fixed due to improvements in i18n.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.