Manual linking

Manual linking

by Steve Pelham -
Number of replies: 5

Hi,


the auto-linking feature can cause a lot of linking inside the text, which can be counterproductive. Is it possible to set glossary links manually ? So instead of working with no-link tags we just link a few occurances in the text. As result that manually links deliver a popup with the definition of the concept or in the best case display the definition on hovering the word in a text. Is that possible ?


Best,

Steve



Average of ratings: Useful (1)
In reply to Steve Pelham

Re: Manual linking

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers
You can set filters to "Filter match once per page" and/or "Filter match once per text" - see https://docs.moodle.org/311/en/Filter_settings
Average of ratings: Useful (5)
In reply to Jon Bolton

Re: Manual linking

by Steve Pelham -
Hi John,

nice....exactly what I was looking for!

THANKS!!!

Best,

Steve
In reply to Jon Bolton

Re: Manual linking

by Steve Pelham -
Hi Jon,

thanks one more time for your help !

I ' like to ask another basic question ....

instead of popups in case of clicking an auto-linked term in the text we would like to have mouse effects. That means the definitions get shown on hovering the term and vanish when the mouse pointers leaves the word area. Is that possible with Moodle out of the box or do we need to develop our own feature ? In case of the latter ... is there a Moodle - link by default , that points to the definition of glossary terms solely as plain text ?

Thanks for your help !

Best,
Steve
In reply to Steve Pelham

Re: Manual linking

by Matt Bury -
Picture of Plugin developers
Hi Steve,

If you want auto-linking to work only on specific instances of the keyword, a possible solution is to use an affix in the glossary entry keyword & the keywords in the texts that you want linked to. It'd work something like hashtags, but you can decide which character(s) you'd like to use on a case by case basis, e.g.

Glossary entry keyword: #dolor sit amet

Word in text to be linked to: Lorem ipsum #dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

You may need to experiment to get the exact results you'd like.

I hope this helps!
Average of ratings: Useful (3)
In reply to Matt Bury

Re: Manual linking

by Steve Pelham -
Hi Matt,

good idea!

... maybe there is a way to make the affix invisible by CSS.

Best,

Steve