Drupal core contains a contact.module which allows users of a Drupal site to contact each other through email. The contact form displays a "Send yourself a copy" checkbox. This Drupal 5/6 module gets rid of that checkbox.
Disabling the checkbox might be useful if you have only the site-wide contact form enabled and want to prevent people from seeing your site's outgoing email headers, or if you want to prevent people from using your site's contact form to send email spam.
Installation (Drupal 5)
To install:
- Make a directory
sites/all/modules/contact_nocc/ - Download the two files
contact_nocc.moduleandcontact_nocc.infointo that directory - Enable the module on the Administer:Site building:Modules page (
admin/build/modules)
contact_nocc module automatically enables the functionality.Installation (Drupal 6)
To install:
- Make sure you are in your main Drupal directory (running ls should show index.php), and run these three commands:
mkdir -p sites/all/modules
cd sites/all/modules
wget -O - http://wtanaka.com/system/files/contact_nocc-6.x-1.0.tar.gz | gzip -d -c | tar xvf - - Enable the module on the Administer:Site building:Modules page (
admin/build/modules)
contact_nocc module automatically enables the functionality.Uninstallation
To uninstall:- Disable the module on the Administer:Site building:Modules page (
admin/build/modules) - Delete the
sites/all/modules/contact_nocc/directory
contact_nocc module will restore the contact module back to its original functionality.| Attachment | Size |
|---|---|
| contact_nocc.module | 536 bytes |
| contact_nocc.info | 171 bytes |
| contact_nocc-6.x-1.0.tar.gz | 522 bytes |

how does it work, i don't
how does it work, i don't see any install file and its not added to the mod list, where we suppose to add it ?
No .install file is
No .install file is necessary, and it should show up in the module list as soon as you put both the .module file and the .info file in sites/all/modules/contact_nocc/
Updated comment_nocc module for Drupal 6
I am a complete Drupal noob and would greatly appreciate if you could update your comment_nocc module for Drupal 6.
This worked perfectly on the
This worked perfectly on the site I was building - I'm very happy as I thought I might have to hack the core files (which is obviously not recommended).
Thank you much for posting your solution!