I'm trying to display all 3rd level submenus for a menu item on one page, with each in its own display block. I've tried the Menu Block module but it only seems to work for the active trail, which means I can only display all 2nd Level and 3rd Level menus as one unit rather than just 3rd level menus as separate units.
In addition to the Menu Block module, I also tried access the menu tree directly with this code.
$main = menu_navigation_links('main-menu', '2'); echo theme('links__system_main_menu', array( 'links' => $main, 'attributes' => array( 'id' => 'main-menu', 'class' => array('links') ), )); ?>
Here's the menu structure:
- Parent Menu 1 - Parent Menu 2 - Child Menu A - SubChild Menu 1A - SubChild Menu 2A - SubChild Menu 3A - Child Menu B - SubChild Menu 1B - SubChild Menu 2B - SubChild Menu 3B
What I'd like to display when Parent Menu 2 is selected:
Block 1: SubChild Menu 1A | Subchild Menu 2A | SubChild Menu 3A
Block 2: SubChild Menu 1B | Subchild Menu 2B | SubChild Menu 3B
Any help on the right way to display submenus separate from their tree would be greatly appreciated.