Friday, May 25, 2012

How to install "Contact Module" in Drupal 8 / Drupal 7 website?

Contact module is an important module of your Drupal website. Contact module is used for creating contact form through which visitors can communicate to the website owners or the support team or visitors can express their feedback. Contact module is a module which comes with many modules pre-installed with the default installation of Drupal. Creating a contact form is easily done using contact module. Before doing this, you have to enable the module first to create a contact form.

Requirements:


  • Drupal Installed website (Drupal 7 / Drupal 8)

Extra Modules: 

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

Steps to install "Contact Module" in Drupal 8 / Drupal 7 website?

Follow the following easy steps to install “Contact Module” in the Drupal 8 or Drupal 7 website:

Step 1: First, Log in to your Drupal website dashboard i.e. control panel using the admin username and password.

Step 2: From the top menus of your Dashboard, find Modules link and access to that link.

image

Step 3: In the modules panel, you will find a list of modules. Find the Contact module form the list of modules and place a check mark next to it and click Save configuration.

image

Step 4: After the above tasks, close the overlay by clicking the “X” in the right corner of your Drupal website.

Step 5: The contact form is enabled now but we visitors could not use this contact form. To allow visitors to use contact form, we have to change the permissions so that everyone can use it. Just click the People link in the top admin menu bar.

image

Step 6: Click on the PERMISSIONS tab from the People panel.

image

Step 7: Now, scroll down to the contact section and check the boxes you want to apply to the permissions. For example, we want to give permission to all of the visitors to contact with us. So, we change all the checkboxes under Use the site-wide contact form.

image

Step 8: After doing the above steps, we need to save all the changes. Just click on the Save configuration button to change the settings.

The default contact form is now ready to use by anyone. So, now come to the point, how the visitors can found this contact form? Actually, there is no link on our website for it. So, we need to create a link for the visitors to contact us. This tutorial should be published in the next tutorial. And thus anyone of Drupal website can easily build a contact form for his / her Drupal 8 or Drupal 7 website.