Menus are a collection of links used to navigate a website. The core Menu UI module provides an interface to control and customize the menu system. Menus are primarily displayed as a hierarchical list of links. By default, new menu links are placed inside a built-in menu labeled Main navigation, but administrators can also create custom menus.
The core Standard installation profile contains five menus:
- Main navigation
- Links to sections intended for site visitors. They are usually created by site administrators.
- Links to administrative tasks. This menu mainly contains links supplied by modules on your site.
- User account menu
- Links to tasks associated with the user account such as My account and Log out.
- Links to important pages within the site intended for the footer. They are usually created by site administrators.
- Links to tasks necessary for site visitors. Some modules feature their links here.
You can customize menus in the following ways, using the menu administration functionality:
- Creating new custom menus.
- Adding new menu links.
- Reordering menu links by setting their "weight" or by dragging them into place.
- Renaming menu links (link title).
- Changing the link description (the tooltip that appears when you mouse over a menu link).
- Moving a menu link into a different menu by editing its Parent link property.
A menu link will only be shown to a visitor if they have the rights to view the page it links to. For example, the admin menu link is not shown to visitors who are not logged in.
- Section 5.6, “Adding a Page to the Navigation”
- Section 5.7, “Changing the Order of Navigation”
- To display a menu, you will need to place the block that corresponds to the menu in a region of your theme; see Section 8.1, “Concept: Blocks”, Section 2.1, “Concept: Regions in a Theme”, and Section 8.3, “Placing a Block in a Region”. The core Standard installation profile places all of the menus it defines except Administration in regions of the core Bartik theme. The core Toolbar module, which is installed by the core Standard installation profile, displays the Administration menu; it is also displayed by the contributed Admin Toolbar module.
Written and edited by Ajay Viswambharan, Jojy Alphonso at Red Crackle, Jennifer Hodgdon and Bill Seremetis.