I got menu with submenu items, structure look like this:
-menu_item1
-menu_item2
----submenu_item1
-menu_item3
Honestly I didn't even noticed that my menu doesn't work but one of my users send me info about it. I start to check my older site versions to find a culprit and I have discovered that i18n module makes my menu stop working. Submenu items just wont show up if I install any i18n higher then 7.x-1.0-beta7 ! Even --> Show as expanded <--
(If selected and this menu link has children, the menu will always appear expanded.) won't change a thing.
Is there a way to fix it ? My users don't have access to many important informations... PLZ help me out.
Comments
Comment #1
batigol commentedAfter looking more closely I have notice that one of my menu item correctly show it submenu item. But I have no idea why only one menu item is working right...
Modules I use:
Calendar 7.x-3.0-alpha2
CAPTCHA 7.x-1.0-beta2
Chaos tool suite (ctools) 7.x-1.0-rc1
Colorbox 7.x-1.2
Date 7.x-2.0-rc1
Domain Access 7.x-2.18Also available: 7.x-3.3 (2012-Jan-11) (checked)
FileField Sources 7.x-1.4
IMCE 7.x-1.5
IMCE Wysiwyg bridge 7.x-1.0
Insert 7.x-1.1
Internationalization 7.x-1.1 (probably cause of the trouble)
Internationalization views 7.x-3.x-dev (2011-Oct-02)
Language icons 7.x-1.0-beta1
Libraries API 7.x-1.0 - Also available: 7.x-2.0-alpha2 (2011-Dec-15)
Link 7.x-1.0
Menu attributes 7.x-1.0-rc1 (checked)
Pathauto 7.x-1.0
Token 7.x-1.0-beta7
Views 7.x-3.1 (checked)
Views Slideshow 7.x-3.0
Wysiwyg 7.x-2.1
Variable 7.x-1.1
After upgrade Internationalization 7.x-1.0-beta7 to Internationalization 7.x-1.1, menu subitems won't display (besides one of the menu item witch is strange...)
checked - means that after upgrade, uninstall, disabling the module menu works fine.
Comment #2
batigol commentedTurning of Menu translation module is not an option for me :(
Related nodes:
http://drupal.org/node/1351678
http://drupal.org/node/942782
Comment #3
webflo commentedWhats your Menu Translation mode (None, Translate and Localize or Fixed Language)? Which drupal core version do you use?
Comment #4
webcultist commentedIf it's "Translate and Localize", it's maybe related with #1398770 ^^
Comment #5
batigol commentedHi. Thx for fast answer - drupal core 7.4
I'm waiting for 7.11 to upgrade cause of http://drupal.org/node/942782 - at start drupal has problem with menu links so I have used patch for 7.4 [http://drupal.org/node/942782#comment-4574324 - @pillarsdotnet patch] but now I see it could be related with i18n module (and probably is).
And about Menu Translation mode I use Translate and Localize (Menu items with language will allow translations. Menu items without language will be localized.)
@webcultist it may be !
I even think about this problem as a critical issue - cause it simply destroy your site menu linking architecture, I hope it will get fix very soon. Now I have moved all my submenu items to be simply menu items but it's not look nice and clean. And it's very frustrating for users...
Comment #6
webflo commented@batigol Please review the patch in #1351678: Follow menu_link_get_preferred active trail handling for custom menus in combination with latest Drupal 7.x-dev Snapshot.
Comment #7
batigol commentedTHX @webflo everything is working now (with drupal 7.12 and a patch).
Comment #8
bruno2 commentedI get the same bug, but only for the translated language not for the source language. The submenu is showing after i disable the menu translation.
I`m using:
Drupal 7.14
i18n 7.x-1.7
i18nviews 7.x-3.x-dev
Comment #9
yelgulwa commentedI get the same issue with Core 7.14 and Menu translation 7.x-1.7. Is there any other solution for this problem? TIA.
Comment #10
jose reyero commentedComment #11
yelgulwa commentedHi,
The thing that fixed my issue was installing menu breadcrumbs. The interaction of breadcrumb with menu translation probably fixes the bug and the children items show up correct for me under the translated menu. Hope this works for someone else too!
Swati.
Comment #12
Anonymous (not verified) commentedInstalling Menu breadcrumbs helps. Thanks a lot Swati!
I'm curious what other features that module provides. ;)
Comment #13
jose reyero commentedI cannot reproduce it with latest dev version.
There are many menu related bug fixes in this version.
Comment #14
jose reyero commentedClosing, unless someone can reproduce it with latest version.
Comment #14.0
jose reyero commentededit