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.
- Log into your Drupal 7 Dashboard
- Go to Structure >> Menu
- Click Edit Menu next to Main Menu
- Click on the List Links tab in the top right
- Ensure you are on the LIST LINKS tab (tabs are shown in the top right) and then click Add Link in the top left
- Fill out the desired fields with the appropriate data.
Menu link title This is going to be the actual text the users click on in the menu to get to this page. Path As the contact form by default is located at http://domain.com/contact, enter contact as the path. Description The Description field will display its contents when using the mouse to hover over the menu link. Enabled The Enabled box must be checked for the menu item to be visible. Show as expanded If this menu item has children, always show the children. Parent link Parent 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. Weight Weight 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.
- 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.
If you need further assistance please feel free to ask a question on our support center.
We value your feedback!
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.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-06-02 7:24 am
hii !! actually i am new in drupal... may anybody pls help me that how can i add more fields in the form...
2014-06-02 9:15 am
This can be done with the use of the Drupal plugin. The Contact Form Fields plugin should get you started.
Post a Comment
Creating a Contact Us Page in Drupal 7
|1.||How to enable the Contact Module in Drupal 7|
|2.||Configuring the Contact Form in Drupal 7|
|3.||Adding the contact form to the menu in Drupal 7|