Once you have configured your contact form, you can now attach the contact form to your menu. This way the contact form can be found and accessed from an easy to access menu instead of only the link in the footer area. Below are the instructions for adding the contact form to your menu in Drupal 8.

How to add the contact form to a menu

  1. First, log into your admin dashboard.
  2. Next, using the menu bar at the top of the page, select Menu
  3. Next, click on the the Structure link from the second menu bar that appears..
  4. You are now presented with the Structure page where you can see all the different structure types. From here, click on the Menus option.
  5. The next page displays a list of existing menus. Find the menu to which you want to add the contact form and click on the Add Link link from the dropdown.
  6. You are now taken to the Add menu link page where you will enter the data for the menu link.
    Menu link titleThis is the text that will appear in the menu, so it needs to be short and descriptive, usually a single word, maybe two.
    PathThis is the path name for the page. If you gave it an alias when you created it, as we did, then simply enter that in. Otherwise you can enter the regular Drupal path, such as node/3 or even the full URL, like http://example.org/node/3.
    DescriptionThis description will appear as the visitor hovers over the link.
    EnabledCheck this to allow the link to display in the menu. If unchecked, it will not appear in any menu. It is checked by default.
    Show as expandedCheck this if your link will have child links and you want them to display in the expanded state.
    Parent LinkSelect the location of your link on the menu by choosing a parent link. By default, the topmost link, or root, is presented.
    WeightThis helps determine where the link will display on the menu in relation to other links. The lower the number, the 'lighter' the link's weight. This means it will appear higher up on a vertical menu or more to the left of a horizontal menu. 'Heavier' links will appear more to the bottom or the right of menus.
  7. After you have entered all the data for the contact form, scroll down and click on the Save button. This will activate your new menu link.Visit your site and you will see the new link on your menu. In our example, you can see it display as a new tab on the main menu. Below is an example of the form as it will appear to the visitor.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Like this Article?

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

News / Announcements

WordPress wp-login.php brute force attack
Updated 2014-07-17 06:43 pm EST
Hits: 200929

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!