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: Popup information without extra icon possible? For instance with apearance like a link. #296

Open sntmoodle opened 4 months ago

sntmoodle commented 4 months ago

Prerequisites

Feature Request - The User Story

Thanks to FilterCodes we have the options {help}…{/help} and {info}…{/info}. Would it be possible to create an analogous popup with the method Wikipedia uses? There, it looks like a link and opens automatically when you hover over it. We don't need the Wikipedia definitions. Wikipedia is just the example of the way it appears and how to open it. We would like to use it to provide feedback and additional information to our students, without icons in the middle of the sentences.

Screenshots / Mock-ups

thumbnail_image002 thumbnail_image001

Alterative you have considered

It doesn't necessarily have to look like a link. Any other layout without additional icons is fine.

Additional information

No response

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

No

Code of Conduct

michael-milette commented 4 months ago

Hi @sntmoodle ,

Moodle already has this feature built into it. You can set this up using a glossary and the Glossary auto-linking filter.

The Glossary auto-linking filter creates a link to a glossary activity entry whenever the word or phrase is used elsewhere in the course, such as in forum posts, labels or page resources. The link triggers a popup displaying the Concept and Definition.

You can learn more about this by going to:

https://docs.moodle.org/en/Glossary_auto-linking_filter.

Would that do?

Best regards,

Michael Milette

sntmoodle commented 4 months ago

Hi Michael

Glossary auto-linking filter is certainly very interesting in certain cases. But it's not what we need. We would like to decide for ourselves whether a certain word or phrase should receive a popup. And throughout the course, the popup text for a certain word can also be different in different places. So we actually want it to be as manual as the help and information that is already available through filtercodes. But with a layout that doesn't need an extra symbol in the text.

Best regards, -SNT

michael-milette commented 4 months ago

Hi @sntmoodle ,

Thank you for your feedback. I will see what I can do for you and let you know when it is ready for testing.

Best regards,

Michael

sntmoodle commented 4 months ago

Thank you Michael! Best regards, -SNT