Manage Menus in Drupal
Menus are a collection of links used to navigate a website. The Menu module provides an interface to control and customize the powerful menu system that comes with Drupal.
Creating Menu:
1. Login to your Drupal site using the administrator account.
2. Click Structure in the toolbar to go to the Menu administration page.
3. Click the Add menu link.
4. Fill in the fields:
- Title: Title of the menu.
- Description: Description of the menu.
5. Click Save button.
We have now created a new menu. Next is to add menu links to the menu.
Add menu links to the menu:
1. Login to your Drupal site using the administrator account.
2. Click Structure in the toolbar to go to the Menu administration page.
3. You’ll see the list of menus, in the operations column click add link that corresponds to the menu you want to add links.
4. Fill in the following fields:
- Menu link title: The title of the menu link.
- Path: Enter a valid path. Ex. www.google.com. Or enter an internal Drupal path
- Description: Enter description for the link menu (optional).
- Enable: Check to enable the menu, uncheck to disable the menu.
- Show as expanded: Used for multilevel menus.
- Parent link: Select a parent link. It is also used to create multilevel menu.
- Weight: Optional. In the menu, the heavier links will sink and the lighter links will be positioned nearer the top.
5. Click Save button.