Menus

The menu screen is where you'll be able to manage the main menu of your site. From this screen you will be able to add new links, edit or delete existing links, disable/enable links, and reorder existing links.  

On this page:

 

Overview

To Manage your subsite's menu:

  1. Go to Manage > Structure > Menus
  2. In the Operations column of Main navigation, click Edit Menu

 

Adding Menu Items

To Add Menu Items:

  1. From the Edit Menu Main Navigation screen, click Add Link
  2. Provide a Menu Title
    • Tip: The menu title should be the same as the destination page's title
  3. Provide a Link
    • If linking to an internal page, simply type the title of the page you would like to link to and it should appear in the list for you to choose
    • If linking to an internal page with a special path (such as categorized listings), refer to the categorized listing section of the site details page or the respective feature's documentation for details on how to get its relative path
    • If linking to an external page (including UTM webpages outside of your subsite), use an absolute link
    • If this menu item is NOT a link and has no destination use <nolink>
      • The only use case for this is if the menu item is used to hold a group of items but is not a page itself
    • If you are linking to the front page of your subsite, use <front>
  4. "Enabled" checkbox determines if the menu item should be displayed or hidden
    • Unchecking this option would hide it from the menu until it is enabled.
  5. Optional: Provide a Description
  6. Optional: Specify a Parent Link. This determines where your menu item sits in the hierarchy
  7. Save
Screenshot of menu creation screen
Screenshot of Add Link menu interface.

Alternatively, you can add pages to the menu when creating a page in the page's menu settings. See Basic Pages for more details.

 

Editing Menu Items

To Edit Menu Items:

  1. From the Edit Menu Main Navigation screen, search for the menu item you wish to edit and click the Edit button
  2. In the Edit Main Menu Link screen, make your desired revisions
    • The same fields from the creation screen are available to you to change
  3. Save

 

Deleting Menu Items

To Delete Menu Items:

  1. From the Edit Menu Main Navigation screen, search for the menu item you wish to delete
  2. In the Operations column of the item you want to delete, click the arrow down button next to the edit button and click Delete.
  3. You will be take to a confirmation page. Click Delete to confirm.
    • Warning: As with all deletion in Drupal, deletion of menu items are permanent and cannot be undone. 

Deleting a menu item does not delete the content it leads to. It simply removes a link to it from the menu. If you also wish to unpublish or delete the page it leads to, you would need to do it separately. See Basic Page > Removing a Basic Page for more information.

 

Enabling & Disabling Menu Items

The Edit Menu Main Navigation screen lists the menu items with a check box in the Enabled column.

If the Enabled checkbox is unchecked, the link will not appear on your menu, but will remain accessible in your administrative interface. This is useful if you want to temporarily remove a link to a specific page, for example, if you created a link to a page that is published but you don't want to actively advertise yet.

It will not save the altered state of this checkbox until you click Save button while on the list page, or Save while editing or adding a specific link.

Tip: If you will not need to re-enable the link later, it's best to delete it.

 

Arranging Menu Items

There are two ways to arrange your menu items:

  • Click and Drag
  • Row Weights

 

Click and Drag Method

The Edit Menu Main Navigation screen lists the menu items with quad-directional icon next to each menu item.

You can click and drag on the quad-directional arrow next to any menu link and drag and drop it to your desired location in the list. All items of the same level will have the same level of indent on the left.

You can also make your navigation link a child to an existing link by sliding right to nest it under the item you wish to be the parent.

Screenshot of menu items reordering
Screenshot of the menu items list with the drag and drop icon to reorder items

 

Row Weights Method

Clicking on "Show row weights" will display the row weights and removes the quad-directional arrows. This allows you to sort your pages by numerical weight.  

Parent-child relationships will be unaffected by this method and links will only sort within the same depth level. For example, all top level links will only sort with other top level links. 

Lnks are sorted according to a numeric scale (the 'lightest' items, -50 up to 0) will rise to the top, and the 'heavier' items will 'sink' to the bottom (0 to +50)  

If two links have the same weight they will be sorted alphabetically the menu is saved 

 

Best Practices

  • Delete links you no longer need instead of leaving them disabled for an indefinite amount of time 
  • Avoid duplicate items that lead to the same place. This affects path related components.
  • Keep the link titles short but representative of their destination. Use description to clear ambiguities 
  • Put the most important links first in a section