Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Auto-linking.

Auto-linking: Difference between revisions

From MoodleDocs
(==External links== * [http://www.slideshare.net/jtneill/moodle-autolinking Moodle:Autolinking] (James Neill, slides)
(copied from 3.3 docs - updated)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
[[Image:glossary autolinking.png|right]]
{{Filters}}
'''{{PAGENAME}}''' is a feature of [[Moodle]] by which words or phrases used within a Moodle site are automatically linked (by highlighting in grey by default) if there is a content page (or resource or activity or glossary entry) within the site with the same name.
Auto-linking is a feature by which words or phrases used within a Moodle site are automatically linked to glossary or database entries, or activity and resources within the course with the same name.


Autolinking can be globally switched on/off in a site's settings by going to Site Administration>Modules>Filters>Manage Filters.
Auto-linking can be managed at different levels:


Specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode.
*Site wide: it can be switched on/off by going to  ''Site administration > Plugins > Filters > Manage Filters.''
*Moodle courses: it can be managed within individual courses from ''Course Administration > Filters''
*Resources & activities within a Moodle course: it can also be managed from within an activity or resource from ''Settings > [Activity name] Administration > Filters''. This is useful for turning off auto-linking to glossaries for example in a quiz, when you don't want the answer to be revealed to the student via an auto-linked glossary term being present in a question.
*Specific text : Within activities and resources certain text can have the auto-linking disabled by switching to HTML view and adding <nowiki>''<span class=nolink>...</span>''</nowiki> with the relevant content replacing the .... If you are using TinyMCE editor, there is a Prevent auto-linking button.  


Another way to force autolinking on/off is to use:
For more information on auto-linking, see
* <nowiki><span class="link">text</span></nowiki>
 
* <nowiki><span class="nolink">text</span></nowiki>
* [[Activity names auto-linking filter|Activity names auto-linking]]
* [[Database auto-linking filter|Database auto-linking]]
* [[Glossary auto-linking filter|Glossary auto-linking]]


==See also==
==See also==
* [[HTML linking]]


==External links==
*[[Managing filters]]
* [http://www.slideshare.net/jtneill/moodle-autolinking Moodle:Autolinking] ([[User:James Neill|James Neill]], slides


[[Category:{{PAGENAME}}]]
[[es:Auto-enlace]]

Latest revision as of 07:23, 2 November 2017

Auto-linking is a feature by which words or phrases used within a Moodle site are automatically linked to glossary or database entries, or activity and resources within the course with the same name.

Auto-linking can be managed at different levels:

  • Site wide: it can be switched on/off by going to Site administration > Plugins > Filters > Manage Filters.
  • Moodle courses: it can be managed within individual courses from Course Administration > Filters
  • Resources & activities within a Moodle course: it can also be managed from within an activity or resource from Settings > [Activity name] Administration > Filters. This is useful for turning off auto-linking to glossaries for example in a quiz, when you don't want the answer to be revealed to the student via an auto-linked glossary term being present in a question.
  • Specific text : Within activities and resources certain text can have the auto-linking disabled by switching to HTML view and adding ''<span class=nolink>...</span>'' with the relevant content replacing the .... If you are using TinyMCE editor, there is a Prevent auto-linking button.

For more information on auto-linking, see

See also