Cover by Dylan James

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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...

  1. Select Add content from the admin shortcut menu.
  2. Select Basic page, then enter About us in the Title field.
  3. In the Menu settings tab check Provide a menu link, and confirm ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required