Friday, May 25, 2012

Adding contact form as a menu to the Drupal website: How to add contact form as a menu to the Drupal website?

Contact form is generally used for getting feedback from the website visitors. In the tutorial, How to install "Contact Module" in Drupal 8 / Drupal 7 website? we discussed how to install a contact form for our Drupal website. In this tutorial, we would learn how to add contact form as a menu to the Drupal website. This easily creates a menu to your Drupal website and visitors can easily find the way to contact.

Requirements:

  • Drupal Installed website (Drupal 7 / Drupal 8)

Extra Modules: 

  • Contact module [pre-installed with Drupal core, just need to enable]

Steps to add contact form as a menu to the Drupal website?

Follow the following easy steps to add contact form as a menu to the Drupal website

Step 1: Log in to your Drupal 8 / Drupa 7 website's Dashboard using the admin username and password.
Step 2: From the Dashboard panel, click on Structure.
Step 3: Under Structure, you will find several option and choose Menus link from there. Just click on the Menus link.

image

Step 4: Now, under Main menu, you will see add link option. Just click on that.

image

Step 5: Fill out the form with necessary fields. For example, for our website, we fill the form like the followings:

image

Step 6: After completing the form, click on Save Configuration to save the changes.

image

And that’s all. You will see the contact link menu of your website. Thus, it’s very hand for the website visitors to contact the website owner or support or to give feedback using the contact link and contact form.