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.
Hi,
I'm not able to get child menu items of the home page rendered in a second block. All child menu items of nodes do get rendered.
Any idea why? Is this an issue about semantics or best practices?
Cheers,
Danny
Comments
Comment #1
scottsawyerI have this issue as well. My nav structure looks something like
When on Contact or it's sub pages, the menu block appears. If I am on a sub page of home, the menu block appears. It only seems to not work as expected when on the home page.
My block is configured as follows:
Menu: Main menu
Starting Level: second level (if I set to 1st level, the menu block shows only the current level, includes home)
Make the starting level follow the active menu item. checked
Starting level will be: Active menu item
Maximum Depth: 1
Expand all children: checked
Fixed parent item:
What the desired effect is: When I am on the top level or any child of that top level, I want the Menu block to show the second level for that active menu trail.
Again, works as expected for everything except the home link. Maybe I should just work around by creating a special case for the home menu and it's children and show only on the home page.
Comment #2
scottsawyerOk, just a report back. I created a second block, made it visible only on the . Settings are as follows:
Starting level: 1st primary
Make the starting level follow the active menu item.: checked
Starting level will be: Children of active
Max Depth: 2
Expand all children of this tree:checked
Fixed parent item: -Home (which is the first child of )
This is working for the case stated in #1. However, I am attempting to use this module in conjunction with Menu Mini Panels, and in one of my panels, I have a Menu block which is supposed to show the children of the menu item. Right now it shows nothing. I am trying to avoid creating 4 or 5 different Menu Blocks that are static, rather, I would like 1 dynamic menu block that is aware of the parent. Honestly, I may run out of time and just create a bunch of Menu Blocks.
Great module BTW :)
Comment #3
JohnAlbinSorry for not responding sooner!