Menu block
So… have you ever used the Primary and Secondary links feature on your theme and wondered “how the hell do I display any menu items deeper than that?”
Well, that’s what this module does. It provides configurable blocks of menu trees starting with any level of any menu. And more!
So if you’re only using your theme’s Primary links feature, you can add and configure a “Primary links (levels 2+)” block. That block would appear once you were on one of the Primary links’ pages and would show the menu tree for the 2nd level (and deeper) of your Primary links menu and would expand as you traversed down the tree. You can also limit the depth of the menu’s tree (e.g. “Primary links (levels 2-3)”) and/or expand all the child sub-menus (e.g. “Primary links (expanded levels 2+)”).
Pretty simple, eh?
(I’m actually shocked this module didn’t exist before.)
Development is sponsored by Palantir.net.
Related modules
DHTML menu: DHTML menu 6.x-3.x makes any of Drupal's standard menu trees have dynamically expanding menu items. Integrates automatically with Menu block.
Nice menus: Provides blocks of fly-out expandable menu trees. Pretty cool, but the navigation style, by design, is pretty different than Drupal's standard menu tree navigation (which Menu block uses.)
modules providing less functionality than Menu block:
Menu block split: Provides a "Level 1" block and a "Level 2+" block for any menu. Menu block contains this functionality.
Menu trim: Provides blocks that display menu trees relative to the active menu item with the parent-level (and higher) items trimmed. So if you are on the 3rd level of a menu, Menu trim will display all 3rd level items and below (but not the 2nd or 1st level items.) As you traverse down the menu, more and more of the menu is trimmed from the block. Menu block 6.x-2.1 or later contains this functionality.
Menu restricter: Fork of Menu trim.
Sliced menu: Provides blocks that display a single, specific level of a menu. Menu block contains this functionality.
Local menu: The block configuration is very similar to Menu block’s. But the module is extremely limited; this module only adds one block that you can configure.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.2 | 2008-Dec-15 | 19.63 KB | Download · Release notes | Recommended for 6.x | |
| 5.x-2.0 | 2008-Nov-24 | 12.76 KB | Download · Release notes | Recommended for 5.x | |
| 5.x-1.0 | 2008-Aug-05 | 11.04 KB | Download · Release notes | Supported for 5.x | |
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-Oct-06 | 25.97 KB | Download · Release notes | Development snapshot | |
| 5.x-2.x-dev | 2009-Oct-06 | 16.42 KB | Download · Release notes | Development snapshot | |

