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
General plugins
Contact Form for Moodle (webmail)
This discussion has been locked so you can no longer reply to it.