Turning autolinking off for specific words

Turning autolinking off for specific words

av Karen Baskett -
Antall svar: 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
Gjennomsnittlig vurdering: -
Som svar til Karen Baskett

Re: Turning autolinking off for specific words

av Joseph Rézeau -
Bilde av Core developers Bilde av Particularly helpful Moodlers Bilde av Plugin developers Bilde av Testers Bilde av 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.

Vedlegg image-0000.jpg
Som svar til Joseph Rézeau

Re: Turning autolinking off for specific words

av 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