Hello!
if you only need to set up a contact form on your website for all visitors regardless of registered or anonymous users and do not want authenticated users to enable their personal contact form -----on Drupal 7--- Just go to admin/people >>on permissions tab<< scroll down to CONTACT section and you will see three (3) options on left side as shown bellow: (if you do not see any contact items there - you need to enable the contact module on the drupal CORE modules section at admin/modules/ core section and check "contact" then save configuration and you will see the following bellow:
Contact
Administer contact forms and contact form settings
Use the site-wide contact form
Use users' personal contact forms
On the right site there are permission check boxes for
[anonymous user]
[authenticated user]
[administrator]
Just check all three boxes for the *****Use the site-wide contact form***** row and you are done. just save changes.
if you setup permissions for the [anonymous user] it is a must to install and enable a module for Preventing contact spam e-mails as noted on Drupal documentation that says: "there are lots of good spam-prevention modules that easily integrate and protect the contact forms and other forms (like comments, nodes, etc)." visit this link: http://drupal.org/node/206787
NOW to enable the contact form to appear as a main menu on top of your website like: home***about***products***CONTACT*** and so on;
on Drupal 7 go to Admin/structure/menus under --navigation-- section click on [LIST LINKS] operation and enable the [contact menu] which is disable by default on Drupal core - Save configuration and visit your Site's Front page on another Browser to tested. Contact menu link will work but is located on the navigation block. IF YOU NEED this Contact Menu to appear on top of your site along with the others menus Visit the admin/structure/menus under Navigation section click on LIST LINKS again and on CONTACT MENU row click on edit and make it disappear from [NAVIGATION] block and appear as Primary Link which are now called [MAIN MENU] on Drupal 7.
Have Fun with Drupal 7!
Regards.
Lorenzo
DO NOT MESS UP WITH THE CODE, INSTEAD USE DRUPAL 7 FANTASTIC BLOCK FEATURE TO PLACE INFORMATION ANYWHERE ON YOUR WEBSITE"
www.lorenzoreynaga.com
www.Athleto.com
www.woodlandbed.com
Comments
Useful
A very useful post and that too in very simple language.. Good work!
Might need to run update
I had the error message "The requested page "/contact" could not be found". I ran http://mysite.com/update.php and this seemed to cure things.
drupalshrek