Creating a submenu block
In this recipe, we will first populate our main menu with sample menu items by creating some basic page stubs. Following this, we will learn how to create a submenu block that will display a submenu generated from the main menu items.
Getting ready
For this recipe, you will need to install and activate the Drupal Menu block module: http://drupal.org/project/menu_block.
This recipe also assumes that you have the Bartik theme installed and set to default. If you are not using Bartik, simply select a different region for your block in step 19.
How to do it...
- Select Add content from the admin shortcut menu.
- Select Basic page, then enter About us in the Title field.
- In the Menu settings tab check Provide a menu link, and confirm ...
Get Drupal 7 Cookbook now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.