5.7. Adding a Page to the Navigation

Last updated on
11 January 2024

Goal

Add a page to the navigation. For example, the About page.

Site prerequisites

The About page content item must exist. See Sección 5.2, “Creating a Content Item”.

Steps

  1. In the Manage administrative menu, navigate to Content (admin/content).
  2. Find the About page, and click Edit in that row. The content editing form appears.

    Page edit link

  3. Click Menu settings on the right to expand it.
  4. Check Provide a menu link for the menu options to appear.
  5. Enter values from the table below:

    Field name Explanation Example value

    Menu link title

    Title that will be displayed in the menu

    About

    Description

    Text that will be displayed when a visitor hovers over the link

    History of the market

    Parent item

    Location of the page in the menu hierarchy. For example, if you choose <Main navigation>, the page will appear in the highest level of the navigation. By choosing another menu item as parent, you can create a menu hierarchy of multiple levels.

    <Main navigation>

    Weight

    The order in which the page should appear in the menu (lower-weighted menu items will be shown before higher-weighted menu items)

    -2

    Creating a menu link from within the content edit form

  6. Click Save to save the changes. Click Home or Return to site in the navigation bar to see the result, which could look like the picture below.

    Link has been added to the main menu

Additional resources

Drupal.org community documentation page "Working with menus"

Attributions

Adapted by Boris Doesborg from "Working with Menus", copyright 2000-2024 by the individual contributors to the Drupal Community Documentation; edited by Jack Haas.

 

This page is generated from AsciiDoc source from the User Guide. To propose a change, edit the source and attach the file to a new issue in the User Guide project. PDF and e-book formats are available on the User Guide project page.

Source file: menu-link-from-content.asciidoc

Help improve this page

Page status: No known problems

You can: