Home

Suckerfish Menu

  • Books
  • Recent Posts
  • Video Tutorials
  • Links
  • Blog
    • Home
    • Contact
    • Login-Register

Books on Drupal

There are many books on Drupal based on a wide range of topics. I have a page devoted to Drupal books that are available for purchase. Help support the site by purchasing your next book through DrupalDude.com.

Today's popular content

  • Drupal 5 Overview - Build a website in 10 minutes (98)
  • Drupal Poormanscron Module (35)
  • Scheduling Posts using Drupal (34)
  • Clean URL's need .htaccess File (32)
  • Creating Roles in Drupal 5 (25)
more

Setting Up A Contact Form in Drupal 5

Submitted by Drupal Dude on Sun, 07/12/2009 - 9:38pm
  • Administration
  • Drupal 5.x

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!

Bookmark/Search this post with:
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati
  • Add new comment
  • Delicious Delicious
  • Digg Digg
  • StumbleUpon StumbleUpon
  • Technorati Technorati

Latest Twitter Posts

Twitter Updates

    follow me on Twitter

    Popular Video Tutorials

    • Drupal 5 Overview - Build a website in 10 minutes (17,727)
    • Scheduling Posts using Drupal (5,248)
    • Drupal Poormanscron Module (4,808)
    • Adding Content Types to Drupal 5 (4,789)
    • Changing the Length of Post That Shows on Front Page (4,753)
    • Taxonomy or Categories in Drupal (4,487)
    • Clean URL's need .htaccess File (4,181)
    • Comments in Drupal 5 (4,155)
    • Where to install Drupal 5 Modules (4,088)
    • Setting Up A Contact Form in Drupal 5 (3,822)

    Recent comments

    • I agree
      6 hours 11 min ago
    • This article is great, I
      8 hours 32 min ago
    • Yeah
      9 hours 18 min ago
    • Yeah
      9 hours 20 min ago
    • This is brilliant. One issue
      1 day 2 hours ago
    • Wow Thanks
      1 day 13 hours ago
    • Bases can be a waste of time
      1 day 17 hours ago
    • Interesting point
      2 days 3 hours ago
    • There are some very great
      2 days 3 hours ago
    • Superbe article, vraiment
      2 days 3 hours ago
    more

    Search

    Navigation

    • Popular content
    • Recent posts

    Buy Me A Beer

    Categories

    General

    • Administration (15)
    • Concepts (3)
    • Installation (4)
    • News (2)

    Drupal Version

    • Drupal 5.x (30)
    • Drupal 6.x (7)

    Modules

    • Comments (1)
    • Contact List (1)
    • Fuzzy Search (1)
    • Meta Tags (1)
    • Node Clone (1)
    • Node Words (1)
    • Path (1)
    • Pathauto (1)
    • Poormanscron (1)
    • Scheduler (1)
    • Search 404 (1)
    • Statistics (1)
    • Taxonomy (Category) (2)
    Powered by Drupal, an open source content management system
    Drupal is a registered trademark of Dries Buytaert. "Drupal Dude" is not affilliated with Drupal.org or the Drupal Association
    RoopleTheme