arrow-left

All pages
gitbookPowered by GitBook
1 of 2

Loading...

Loading...

Exercise 10.1 - Add an item to a menu

There are two methods you can use to add menu items.

  1. Hover over Structure, then → Menus and click Primary navigation.

    Hovering over Structure >> Menu >> Primary navigation
  2. Click on the Add Link button at the top left of the page.

  3. Begin typing the title of an existing content in the Link field. It is an autocomplete field and as you type the field will auto-suggest from your existing content.

  4. Add a Description and a Menu link title.

  5. Click Save once complete.

  6. Review the change to the menu in the Primary navigation. You should see the new menu item in the Primary navigation menu at the top of the page.

hashtag
Method 2 - From content

  1. Edit any Page content.

  2. Expand Menu settings in the right sidebar.

  3. Click Provide a menu link

Type in a Menu link title.

  • Select Primary navigation in the Parent link dropdown

  • Make sure your Page content is published.

  • Click Save

  • Go to the homepage and review the change to the menu in the Primary navigation.

  • Click on Add link
    Showing menu fields
    Image showing Menu settings on the edit screen of a Page

    Managing menu items

    Menu items can be added to the Main navigation and Footer menu in two main ways.

    hashtag
    Managing from the Structure - Menus page

    To add menu items, view and edit existing menus, hover over Structure in the Admin menu then click on Menus. This will take you to a page displaying all the Menus that exist on a site.

    Depending on your level of access, you can delete an entire menu from this page. Clicking on the Edit menu button for any menu listed will take you to a page where menu items can be:

    1. Added - by clicking the +Add link button at the top left.

    2. Deleted - by clicking the dropdown next to a menu item's Edit button.

    3. Enabled/Disabled - using the checkboxes.

    Adding a menu item via this method is covered in .

    Note Disabling a menu item does not delete the page. You can still access the page by going directly to the URL of the menu.

    hashtag
    Adding a menu item from the Content edit form

    Menu items can be generated while creating or editing content. For example, while creating a new Page. This provides a quick way to generate a new menu item. In the example below, a new menu item will be added to the Primary navigation menu.

    To add a menu item from the Menu settings area on a content page:

    1. Click to expand the Menu settings area on the right hand side of the page.

    2. Click on Provide a menu link.

    3. Add a Menu title link.

    The Weight number determines the ordering of the new menu item in the chosen menu. Managing ordering is easier to manage from the Menu page. As such, you may wish to leave the Weight value at the default value of 0 while creating the page, then manage the ordering in the Structure - Menu page.

    hashtag
    Restrictions for adding content to the site navigation

    When creating or managing content you will notice that some content types have an option to be added to a Menu, while others do not.

    As shown above, a menu item can be created while creating or editing a Page. The Menu settings area is not available in the Alert content editing form as shown in the screenshot below.

    The site builder usually only activates the Menu Settings option for content that is not listed on the site in any way and can only be found via a navigation menu. The Page content type is a good example of content that has to be manually added to the main navigation or another menu.

    Dynamic content such as Events and Alerts do not usually need a link in the main navigation menu, as this content is displayed in the corresponding listing pages.

    In some cases, the relevancy of content may expire over time (e.g. Event content types), so having a link from a menu brings an extra content management burden to remove the link after the content expires such as in the cases of Events and Alerts.

    Reordered - by dragging and dropping using the cross handles to the left of each menu item.

    Optionally add a Description.

  • Select the Parent link - which menu to add the link to.

  • Optionally choose a Weight.

  • Exercise 10.1
    Editing the primary navigation menu
    Image showing menu items can be added, deleted, enabled/disabled and reordered.
    Image showing the menu section on the edit page
    Menu settings not available whilst editing Alert content type