Books on Drupal
There are a few books on Drupal and they range from everything for the beginner to everything for the advanced. I have a page devoted to Drupal books that are available for purchase along with a review on each of them.
Books on DrupalThere are a few books on Drupal and they range from everything for the beginner to everything for the advanced. I have a page devoted to Drupal books that are available for purchase along with a review on each of them. |
New to Drupal?Are you new to Drupal? What is Drupal and why do you want to use this? In this video I build a Drupal website in 10 minutes. See why Drupal rocks! |
CategoryBuy Me A Beer |
Setting Up A Contact Form in Drupal
Submitted by Drupal Dude on Sat, 07/14/2007 - 4:42pm.
When I set up a Drupal site, one of the first things I do is add a contact form. This contact form allows people reading the site an avenue to contact the webmaster, sales department, accounting, etc. It's actually easy to set up once you see the whole process in its entirety. What's really cool about the contact form is that you can set up multiple categories, and each category can go to a separate email address (or even multiple email addresses). The other nice benefit of this form, which I did not mention in the video, is that it hides the email addresses so spammers can't scrape your site for email addresses. The first thing you need to do is turn on the Contact module. This module is part of the Drupal core modules, but it is an optional one and it is turned off by default. Once it is turned on you will see a new menu item under Site Building called Contact form. This is where you set everything up. You basically have three tabs: List, Add category, and Settings. The Add category is where you add the different departments and their respective emal addresses. In the video, I added Website Feedback and Suggestions. You can add as many categories as you want and on the actual contact form, the viewer will select the proper category they want to contact using Drupal. There are also a couple of other options here. you can weight the categories so they can list in a certain order on the drop down list, and you can set up a category to be selected by default. The final tab, Settings, is where the global settings are for the contact form. You can add more text describing what the contact form is from here. After setting this up, you need to go to the Menu section under Site building in the navigation menu. By default Drupal added a Contact menu item, but it is disabled by default. So you may have all the categories set up, but no one can get to them yet as their is no menu item to select. So you need to enable it. Now everything looks good and it is all working until you log out. The final step is you need to give access priviledges by going to Drupal's Access control menu under User management. From here you can set it up to where only authenticated users can use it, and/or you can set it up to where anonymous users can use it. So there you go, contact forms in Drupal simplified... Drupal rocks! Trackback URL for this post:http://www.drupaldude.com/trackback/11
|
SearchRecent comments
Drupal Related Sites |
Hello I just wonder, how do
Hello
I just wonder, how do i add additional forms. Name, Email, plus City, Region, District, Phone numbers etc?
Beyond contact forms
Me too, me too. Like this form right here. How'd ya do that? The contact form doesn't have some of these fields (by default) so there must be a clever way to add these fields. Thanks!