Link within a Course to send message to a teacher

Link within a Course to send message to a teacher

by Jayden Tyronian -
Number of replies: 2

I'm not sure if this is possible, but basically this is what we want to do:

Within a course at the moment we have a 'page' that advises the student to email the teacher (the email address is also provided) to obtain an offline version of the assessment (either because the assessment is not in an online format or in the event the online quiz is having issues).

Hyperlinking the email address while possible, that assumes the student has an email program installed, however many may actually use gmail or hotmail etc in its online web version instead making the hyperlinking useless.

What we would like to do is have a button (or link) that when pressed sends an email to the teacher(s) (in the teacher role) advising the student name, id number of student, the course name and a generic message that they are requesting the offline assessment.  This message would then be sent from moodle to the teacher's email address on file (and possibly an option to have it received as a moodle message as well depending on how the teacher has chosen to get their messages etc.

Any suggestions or assistance to achieve this would be greatly appreciated assuming its even possible.

We are currently using Moodle 3.1


Thanks

Jayden

Average of ratings: -
In reply to Jayden Tyronian

Re: Link within a Course to send message to a teacher

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

If you click on the teacher’s name when in the course (from the list of participants, or anywhere else you see it), you will be taken to their profile page.

On that page, if messaging is enabled on your site, there should be a link to Message that person. 

For example...

screenshot of user profile page


Just copy the url and add it to a link in, say, an html block. Something like this will work (replace the 123 with the userid of the teacher).

<a title="Send a message to your teacher" href="/message/index.php?id=123">Send a message to your teacher</a>
In reply to Jayden Tyronian

Re: Link within a Course to send message to a teacher

by ben reynolds -

Hello Jayden,

Moodle messaging will do that for you. Student selects the instructor, types the request, hits send. As long as email is enabled for messaging for the teacher, an email is sent.