Moodle Plugins directory: Database Field Email | Moodle.org

Database Field Email
Database fields ::: datafield_email
Maintained by
Stephan Robotta
This plugin provides an additional field type email for the database activity.
The field is very similar to the URL field type, only that it accepts
syntactically correct email addresses as values.
Latest release:
40 sites
25 downloads
3 fans
Current versions available: 1
Database Field Email
This plugin provides an additional field type email for the database activity. The field is very similar to the URL field type, only that it accepts syntactically correct email addresses as values.
Installation
Please run the following steps:
- Extract the zip archive into
<moodle_install_dir>/mod/data/field/
. - Rename the newly created directory
moodle-datafield_email
intoemail
so that the files from the repository are inside the directory hierarchy<moodle_install_dir>/mod/data/field/email
. - Run
php mod/data/field/email/cli/install.php
to symlink/copy the icon file from the plugin directory into themod/data/pix/field
directory. This step is optional, when not executed, the icon next to the email entry under the button "Create a field" will be missing. - Finish the installation via the Moodle admin page.
Usage
Within your database activity in the Fields tab when creating a new field, the selection contains the new item "Email" with an envelope icon.
Apart from the standard settings for a field, there is the additional option Create mailto link. When this checkbox is checked, the values of the email field are automatically converted in a mailto link in the view templates. If the checkbox is not checked, then the plain email value is printed without any modification.
Useful links
Contributors
Stephan Robotta (Lead maintainer)
Please login to view contributors details and/or to contact them
Comments