Adding the contact form to the menu in Drupal 7

Before being able to add the contact form into your main menu, you should have already installed the contact module and configured the settings. Now, you need to create a way for your website’s visitors to actually find and access the form. You can add a contact link to your main menu via the Drupal dashboard.

  1. Log into your Drupal 7 Dashboard
  2. Go to Structure >> Menu
  3. Click Edit Menu next to Main Menu
    drupal_contact_nav_1
  4. Click on the List Links tab in the top right
  5. Ensure you are on the LIST LINKS tab (tabs are shown in the top right) and then click Add Link in the top left
  6. Fill out the desired fields with the appropriate data.
    Menu link titleThis is going to be the actual text the users click on in the menu to get to this page.
    PathAs the contact form by default is located at https://domain.com/contact, enter contact as the path.
    DescriptionThe Description field will display its contents when using the mouse to hover over the menu link.
    EnabledThe Enabled box must be checked for the menu item to be visible.
    Show as expandedIf this menu item has children, always show the children.
    Parent linkParent Link is for use if you want to place the menu under another menu item as a child. By default, this is set to <Main Menu> so it is on the top level.
    WeightWeight is a numerical designation for where the item will display in the menu. The lower the number, the higher or more to the left the menu item is placed.

    drupal_contact_nav_2

  7. Click Save

    Now, when you visit your website, you’ll see that there is now a link to your contact from in the menu bar.
    drupal_contact_nav_3

    For more step-by-step guides and practical tips, visit our Drupal Education Channel.

Carrie Smaha
Carrie Smaha Senior Manager Marketing Operations

Carrie enjoys working on demand generation and product marketing projects that tap into multi-touch campaign design, technical SEO, content marketing, software design, and business operations.

More Articles by Carrie

Was this article helpful? Join the conversation!

Server Madness Sale
Score Big with Savings up to 99% Off

X