This project is not covered by Drupal’s security advisory policy.
The module allows site admins to create customized contact forms.
Contact forms also can be created by other modules using the provided API.
Contact form title, default message, description text,
message subject and body are fully customizable and can use different variables
To install, place the entire module folder into your modules directory.
Go to administer -> site building -> modules and enable the User Source module.
To create new contact form or change settings for existen contact form go to Administer -> Site configuration -> Contact forms.
You can set up permissions for each contact form in Administer -> User Management -> Access Control
Created contact forms are available at http://yourdomain.com/contact_forms/
/
If (node id) is provided in the query string node variables will be available in the contact form
Other modules can use the API to create their own contact forms.
To define new contact form implement hook_contact_forms():
function example_module_contact_forms()
{
$forms = array();
$form = new stdClass();
$form->delta = 'example_form';
$form->source = 'example_module';
$form->title = t('Example contact form');
$forms['example_form'] = $form;
return $forms;
}
To modify contact form parameters after form submit implement
hook_contact_forms_parameters($contact_form, $user, $node, $form_values, &$parameters).
Your feedback would be most appreciated, and if you write your own plugin, please consider contributing back!
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - No further development
No longer developed by its maintainers. - Created by mdekkers on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.