- Getting Started
- Basic Configuration
- Creating Multiple Sites On Your Local Computer
- Error Pages
- Accessing Your Test Site(s)
- Adding Modules and Themes
- Creating Content
- Custom Blocks
- Working with the Menu
- The Contact Form
- URL Aliases
- Moving Entire Drupal Site with Databases
- Moving Stuff to Your Web Site
- Setting Up Cron
- Additional Tips and Tricks
- Categories (Taxonomy)
- Common Problems
- Links and IMG
- Keeping Your Local and Remote Sites Synchronized
- More Reading
- Glossary
The Contact Form
Submitted on Tue, 04/17/2007 - 16:02.
For something as simple as a contact form, this is one of the most complicated things to get set up and operating.
Set Up
First, the contact moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. must be enabled. Go to Administer >> Site building >> Modules and locate it in the list of core modules. Click the check box and go to the bottom to save the change.
Go to Administer >> Site building >> Contact form. Here you can set up the "Categories" - or recipient name/office. [Don't confuse this with taxonomy categories.]
For example, email for the Sales Department might be given a category of "Sales." The email address that the form is sent to may be sales@mycompany.com. If you want a reply automatically sent to the person sending the contact email, you can specify that here. Don't worry if you don't know them all right away, you can come back and change this at any time. Click the "Submit button."
Now click on the "Settings" tab. Here you can limit how many contact emails an individual may send in an hour -- this helps limit spamming. You may also turn on personal contact forms here; this allows users to contact each other. Click on the "Save configuration" button.
Make It Accessible
To me this step seems totally unnecessary, but I suppose that some people want it.
Go to Administer >> User management >> Access control, locate the "Contact moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP." entry and enable it for the roles you want to be able to use Contact. Save your changes. The menu linkThe technique which points to another page, anywhere on the Internet, from the current page. (next step) will not be visible to any one not having access.
Add "Contact" to the Menu
Go to Administer >> Site building >> Menus. Under "Navigation," enable "Contact" as described in the instructions. Save your changes.
Using It In Content
To add a linkThe technique which points to another page, anywhere on the Internet, from the current page. to a content page use <a href="/contact">Contact Us</a>. Unfortunately, this does not give you the capability to specify which contact to send it to. Fortunately, there is help! Check out the Contact List module.
Need a customized contact form? Check the WebForm Module. A recent change to the Contact_List moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP. allows you to use these two modules together.



Recent comments
1 week 4 days ago
6 weeks 3 days ago
6 weeks 3 days ago
7 weeks 2 days ago
7 weeks 3 days ago
8 weeks 4 days ago
8 weeks 5 days ago
9 weeks 1 day ago
9 weeks 3 days ago
9 weeks 3 days ago