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 had to revert back to 7.10 because Menu Blocks failed to display in 7.12. I am not sure if it is a bug in the Menu Blocks module or Drupal core.
Comments
Comment #1
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedDid you run update.php? There should be an update function in the new release that touches on a variable that the Menu Block module uses. Running update.php will execute the update function and update the variable.
Comment #2
webchickCurious of this too.
Comment #3
stijntilleman CreditAttribution: stijntilleman commentedIt's not only the menu block module.
If you have a multilevel menu the second level doesnt show in the mainmenu block you get from Drupal out of the box.
Comment #4
stijntilleman CreditAttribution: stijntilleman commentedJust to be complete, in 7.11 it works
Comment #5
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedAnd update.php has been run after the updates of the code base? It's important to know this.
Comment #6
stijntilleman CreditAttribution: stijntilleman commentedYes.
It has been run without any errors or messages.
Comment #7
Tor Arne Thune CreditAttribution: Tor Arne Thune commentedFor anyone surveying this issue, have a look at #1425342: Drupal core upgrade from 7.10 to 7.12 causes menu block to fail as well. Also, this could be the same problem as the Internationalization (i18n) module is experiencing with its menu translation submodule: #1351678: Follow menu_link_get_preferred active trail handling for custom menus
Comment #8
DamienMcKennaDemoting this as it has been six months since the last update.
Please verify if the issue still exists with the latest 7.15 release.
Comment #9
MatthiasHH CreditAttribution: MatthiasHH commentedVerified.
I do have the same issue:
- Drupal 7.15
- i18n 1.7
- default language: german
- 2nd language: english
every plug-in is updated, update.php script run twice.
The Menu Block Module does not show 2nd level navigation in a different language than the default language.
If Menu Block is configured to show 1st Level navigation it shows navigation items correctly.
If Menu Block is configured to show 2nd level, nothing appears on the website.
This behaviour appears in a translated main menu as well as in a newly added menu.
In my primary language (german) everything works fine.
Comment #10
webchickMoving over to the menu block queue. If this is still happening in 7.15, I don't see how this could be core's issue. If I'm wrong, feel free to kick back, with some more debugging info.
Comment #11
webchickOh! Looks like this might be a duplicate with #1691450: Menu Block + i18n 1.7?
Comment #12
MatthiasHH CreditAttribution: MatthiasHH commented@webchick: I am not sure if it's the same issue and i did not apply that patch.
I found a workaround:
Disabling the module "menu translation" solved my problem and the menu appears.
So my workaround is:
1. go to admin/modules
2. find module menu translation
3. deactivate it.
The menu appears in all languages.
Comment #13
kclarkson CreditAttribution: kclarkson commentedI too am confirming that menu blocks are not showing when setting them to use the second level.
EDIT: I am NOT using the il18n_menu module
This makes it difficult to develop right now as I am now forced to Individual menus vs the Main Menu.
So my footer menus are not going to be dynamically added to the footer. I am using the Dev 2.3 version so hopefully this will be fixed for all versions of Menu Blocks.
Thanks in advance
K
Comment #14
adshill CreditAttribution: adshill commentedI'm getting the same issue here. The patch at the link does not provide a fix. To confirm:
1) I have two languages (Arabic/English) and Arabic is primary language.
2) I have two menus, "Main Menu" and "Main Menu English" using variables, these are both assigned to the Primary Menu
3) I install menu_blocks and create two menu blocks starting at second level with 1 level of depth for each language on the menus above
4) The English menu_block appears fine, but the Arabic menu_block will not display!
As MatthiasHH reports, when I disable the il18n_menu module, the menu displays.
Thanks,
Adam
Comment #15
toelli CreditAttribution: toelli commentedI was having problems with secondary level starting menues and deeper and i18n language support, the patch on this thread sovled my problems:
#1617482: Menu block not showing when menu translation enabled
oh and... dont forget to clear cache after patching ;)
Comment #16
kclarkson CreditAttribution: kclarkson commentedJust to be clear, I am having the same issue with the menu blocks not showing the second levels of my main menu.
And I am not using i18n or the internationalization module
Comment #17
mvaneck CreditAttribution: mvaneck commentedSame here - secondary footers within a languaged page are only shown when the module menu translation is disabled. Why is this?
Version Menu Block: 7.x-2.3
Drupal: 7.15
Comment #18
radiobuzzer CreditAttribution: radiobuzzer commentedEDIT: apologies, issue due to wrong settings fixed
Comment #19
JohnAlbinIf you are using the multilingual suite of modules, I suspect you really want this issue: #881322: Multilevel menu fails to create active menu trail with same link_path in different languages
If you aren't using the multilingual modules, have you confirmed that you can navigate to the same nested link using a regular Drupal block? Drupal's menu system doesn't support putting 2 links in a single menu if they have the same path.
Comment #20
JohnAlbin