In this recipe, we will look at using the Menu module to add a menu to a theme which will allow the user to navigate through the site. While we can add as many menus as we need, Drupal and most Drupal themes, by default, support two generic menus named Main links and Secondary links.
The Menu module that comes with Drupal will need to be enabled to add our menu and menu items. We will be adding a link to a local node with URL alias
about-us
to link to a typical About us page on the site. It is assumed that such a node has been created.
Let us first add a custom item to the menu:
1. Navigate to
admin/structure/menu
(Home | Administration | Structure | Menus) and look for a menu titled Main menu.2. Click on its associated add link option.
3. Add a menu item: for example, a link to an external site with Menu link title set to
Drupal
and Path to http://drupal.org as in the next screenshot.4. The Description field can optionally be filled...