Turning autolinking off for specific words

Turning autolinking off for specific words

بواسطة - Karen Baskett
عدد الردود: 4
Hi

Is it possible to turn autolinking to glossary off for specific words? For example, in the course description when learners login, they are getting confused between a word underlined (through the glossary) and the actual course title. I'd like to not have this particular instance linked to the glossary, but still leave the other instances of the word linked throughout the course.

Thanks

Karen
متوسط التقييمات: -
رداً على Karen Baskett

Re: Turning autolinking off for specific words

بواسطة - Joseph Rézeau
صورة Core developers صورة Particularly helpful Moodlers صورة Plugin developers صورة Testers صورة Translators

Hi Karen. There are two ways to do this.

1- automatic

In the HTML editor, select the whole text you do not want autolinked and click on the "Prevent automatic linking" button (see attached screenshot).

2- manual

In the HTML editor, click on the Toggle HTML source button and enclose the part of your text you do not want autolinked with these tags: <nolink>...</nolink>.

Hope that helps,

Joseph

NOTE.- Unfortunately, the first method sometimes ruins your text format, which is why I prefer the second method.

المرفق image-0000.jpg
رداً على Joseph Rézeau

Re: Turning autolinking off for specific words

بواسطة - john zhang
Good tip!

By the way, how about some words are just part of another word and this part gets autolinked.

To give one example, we have PI as an abrevation of "Primary Investigator". Now, all my "spirit" gets linked with "spirit"!

how to avoid this situation?

thanks.

john