michael-milette / moodle-filter_filtercodes

FilterCodes filter for Moodle enables content creators to easily customize and personalize course and site content using plain text tags (no HTML). For premium support, contact us at https://www.tngconsulting.ca/contact
https://moodle.org/plugins/filter_filtercodes
GNU General Public License v3.0
30 stars 42 forks source link

Feature Request: {coursecontacts} with link to teacher profile #262

Closed brunohcury closed 11 months ago

brunohcury commented 11 months ago

Prerequisites

Feature Request - The User Story

Hello Michael, First I want to thank you for all the tags of this wonderful plugin, it is being of great help to my institution.

Today we use the {coursecontacts} tag to display all the professors and tutors responsible for the course on the course cover, but when clicking on the name, it asks to open an external program.

I would like to know if there is the possibility of clicking on the teacher's name to open the profile page so that the student can send a message to the teacher?

url: /user/view.php?id="x"&course="y"

Thank you very much Att Bruno - Cury

Screenshots / Mock-ups

contato1 contato2

Alterative you have considered

No response

Additional information

No response

Planning on submitting a solution in a pull request (PR)?

Yes

Code of Conduct

michael-milette commented 11 months ago

Check the settings for FilterCodes. There should be a setting to determine what it will be linked to and one of them should be to the teacher's profile. Let me know how it goes.

Best regards,

Michael

brunohcury commented 11 months ago

Michael, It's returning "tel:" on hover and not the profile. Att Bruno Cury contato3

michael-milette commented 11 months ago

Did you set the option for Contact Link Type to Profile in the FilterCodes settings?

brunohcury commented 11 months ago

All ok now, thank you very much! This plugin is sensational! Thank you very much