Contact Form for Moodle (webmail)

Re: Re: Contact Form for Moodle (webmail)

by Michael Milette -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Joanna,

Thanks for your question. You can actually set-up a contact type form anywhere in Moodle.

The easiest way to work out the path to /local/contact/index.php is to simply use the {wwwroot} tag which is part of the FilterCodes plugin. To use it, you will need to install and activate as well. An example of this can be found in the Wiki documentation for the plugin .

There are dozens of other useful tags included with FilterCodes which allow you to insert dynamic information in your Moodle site and even conditionally display content. It's great for personalizing your student's experience. If you would rather not use the FilterCodes plugin, you will need to manually determine the absolute path to /local/contact/index.php in for the ACTION attribute of your FORM tag.

For example, https://www.example.com/local/contact/index.php. If your Moodle is installed in a subfolder called "moodle" of your website, it might look like https://www.example.com/moodle/local/contact/index.php

 Hope this helps.

Best regards,

Michael