Creating Menus in Drupal 7 – Part 2 – Adding links and Displaying

Welcome to part two of the menu creation tutorial series. At this point, we have already created a new menu in Drupal 7 and are ready to add links to it. The links are the actual menu items that your visitors will click on to visit pages within your website. Here is where we will learn to add those to our menu. After that, we will configure settings to display the menu on your site.

Adding menu items

  1. Log into your Drupal admin Dashboard.
  2. Click on the Structure menu item from the top menu bar and then click on Menus.
  3. Find your new menu structure from the list of menus and then click on the Add Link link on the far right for that menu.

  4. You are taken to a screen where you will add the specific data for the link.

    Field NameRequired?Description
    Menu Link TitleYesThis is the name of the item, also known as anchor text, that will display on screen.
    PathYesThis is the path to the page you want to display. It can be an absolute url like https://google.com or a relative link (for example my Hello World page) like /node/8. To find the path, you may need to visit the page on your site and get the URL from the address bar of your browser.
    DescriptionNoThis is a description that will appear when hovering over the menu item.
    EnabledNoTells whether the item will be displayed in the menu. It is turned on by default.
    Show as expandedNoIf this is enabled and the menu item has sub items, they will all display under the parent menu item. Think of it like creating subcategories. It is turned off by default.
    Parent LinkNoSet to the menu structure itself by default, this dropdown allows you to place the menu item under another item or menu if desired.
    WeightNoThis number is used to set the order of the menu items. Lower numbers are listed first.
  5. Once you have finished filling in the desired fields, click the Save button at the bottom to save your link. Repeat this process for each menu item you want to add to your menu. Your newly added link will show in the Menu Link list. Since this is the first link for our Test 1 menu, it is the only one listed at this time.

You now have created your custom menu on your Drupal 7 site! This concludes part two of the two part article series. Next, you will learn how to enable your custom menu for your site. You may either replace the main or secondary menus, or you can place the menu in one of your site regions. If you need further assistance please feel free to ask a question on our support center.

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+