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 (76)
  • Comments and Spam on Drupal Dude (39)
  • Scheduling Posts using Drupal (21)
  • Changing the Length of Post That Shows on Front Page (21)
  • Drupal Poormanscron Module (19)
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,591)
    • Scheduling Posts using Drupal (5,206)
    • Adding Content Types to Drupal 5 (4,771)
    • Drupal Poormanscron Module (4,759)
    • Changing the Length of Post That Shows on Front Page (4,727)
    • Taxonomy or Categories in Drupal (4,458)
    • Clean URL's need .htaccess File (4,134)
    • Comments in Drupal 5 (4,128)
    • Where to install Drupal 5 Modules (4,064)
    • Setting Up A Contact Form in Drupal 5 (3,802)

    Recent comments

    • Wow Thanks
      4 hours 38 min ago
    • Bases can be a waste of time
      8 hours 32 min ago
    • Interesting point
      18 hours 15 min ago
    • There are some very great
      18 hours 29 min ago
    • Superbe article, vraiment
      18 hours 30 min ago
    • 111
      18 hours 33 min ago
    • tickets
      1 day 19 hours ago
    • The good feature also about
      1 day 21 hours ago
    • Thanks for a great article
      2 days 20 min ago
    • thanks for this topci see
      2 days 9 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