Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Contact Form block.

Contact Form block: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
Line 6: Line 6:
This block:
This block:


1) Links via an html link or form button to a page where the user can submit comments.
*Links via an html link or form button to a page where the user can submit comments.
2) Supports different behavior whether the block is displayed on the main site index or in a course.
*Supports different behavior whether the block is displayed on the main site index or in a course.
3) Includes global configuration options.
*Includes global configuration options.
4) Includes per block instance configuration options.
*Includes per block instance configuration options.


HOW TO INSTALL
HOW TO INSTALL


1) Copy the entire contact_form folder from the blocks folder in the package into your Moodle site's blocks folder
*Copy the entire contact_form folder from the blocks folder in the package into your Moodle site's blocks folder
2) Visit the notifications page of your Moodle site with your browser.  This is at Location: ''Site Admin->Notifications''.
*Visit the notifications page of your Moodle site with your browser.  This is at Location: ''Site Admin->Notifications''.


{{Moodle 1.9}}
{{Moodle 1.9}}
Line 24: Line 24:
Specific changes from previous versions:
Specific changes from previous versions:


1) Converted block to use the Moodle formslib library.
*Converted block to use the Moodle formslib library.
2) Added reCaptcha support.  To use ReCAPTCHA, you must get a key and configure it on your Moodle install.  See https://docs.moodle.org/en/Manage_authentication#ReCAPTCHA for details on enabling ReCAPTCHA.
*Added reCaptcha support.  To use ReCAPTCHA, you must get a key and configure it on your Moodle install.  See https://docs.moodle.org/en/Manage_authentication#ReCAPTCHA for details on enabling ReCAPTCHA.
3) Added option for return receipts.
*Added option for return receipts.
4) Removed previous methods of determining course teachers and replaced with a role.  block/contact_form:contactperson is enabled in the Teacher legacy role by default.
*Removed previous methods of determining course teachers and replaced with a role.  block/contact_form:contactperson is enabled in the Teacher legacy role by default.
5) Removed previous methods of adding a hidden recipient and replaced with a role.  block/contact_form:hiddenrecipient is not enabled for any role when initially installed.
*Removed previous methods of adding a hidden recipient and replaced with a role.  block/contact_form:hiddenrecipient is not enabled for any role when initially installed.
 
==See also==
==See also==
*http://moodle.org/mod/data/view.php?d=13&rid=854 Modules and Plugins database entry
*http://moodle.org/mod/data/view.php?d=13&rid=854 Modules and Plugins database entry


[[Category:Contributed code]]
[[Category:Contributed code]]

Revision as of 13:34, 1 April 2009

Originally based on: Moodle Web site Contact Form v_5 (by Nicole B. Hansen) (converted to a moodle block by Daryl Hawes)

This block has had many contributers, from Daryl Hawes in Moodle 1.5, Daniele Cordella in Moodle 1.6, Matt Campbell in Moodle 1.7 & 1.8, and Valery Fremaux in Moodle 1.8.

This block:

  • Links via an html link or form button to a page where the user can submit comments.
  • Supports different behavior whether the block is displayed on the main site index or in a course.
  • Includes global configuration options.
  • Includes per block instance configuration options.

HOW TO INSTALL

  • Copy the entire contact_form folder from the blocks folder in the package into your Moodle site's blocks folder
  • Visit the notifications page of your Moodle site with your browser. This is at Location: Site Admin->Notifications.

Moodle1.9


The Moodle 1.9 Contact Form Block builds upon the work of all these contributers and adds many new features made possible in 1.9. This block was updated by Daniele Cordella with some assistance from Matt Campbell.

This version of the block is NOT compatible with Moodle versions prior to 1.9.

Specific changes from previous versions:

  • Converted block to use the Moodle formslib library.
  • Added reCaptcha support. To use ReCAPTCHA, you must get a key and configure it on your Moodle install. See https://docs.moodle.org/en/Manage_authentication#ReCAPTCHA for details on enabling ReCAPTCHA.
  • Added option for return receipts.
  • Removed previous methods of determining course teachers and replaced with a role. block/contact_form:contactperson is enabled in the Teacher legacy role by default.
  • Removed previous methods of adding a hidden recipient and replaced with a role. block/contact_form:hiddenrecipient is not enabled for any role when initially installed.

See also