Autolinking: Difference between revisions
From MoodleDocs
James Neill (talk | contribs) mNo edit summary |
(changed Category to Filter) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
'''{{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) within the site with the same name. | [[Image:glossary autolinking.png|right]] | ||
'''{{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. | |||
Autolinking can be globally switched on/off in a site's settings | Autolinking can be globally switched on/off in a site's settings by going to Site Administration>Modules>Filters>Manage Filters. | ||
Specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode. | |||
Another way to force autolinking on/off is to use: | |||
* <nowiki><span class="link">text</span></nowiki> | * <nowiki><span class="link">text</span></nowiki> | ||
* <nowiki><span class="nolink">text</span></nowiki> | * <nowiki><span class="nolink">text</span></nowiki> | ||
[[Category: | ==See also== | ||
* [[HTML linking]] | |||
==External links== | |||
* [http://www.slideshare.net/jtneill/moodle-autolinking Moodle:Autolinking] ([[User:James Neill|James Neill]], 2008, slides) | |||
[[Category:Filter]] | |||
[[es:Auto-enlace]] |
Latest revision as of 15:44, 27 April 2016
Autolinking 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.
Autolinking can be globally switched on/off in a site's settings by going to Site Administration>Modules>Filters>Manage Filters.
Specific links can be prevented by adding <nolink> ... </nolink> tags around the relevant content in HTML markup mode.
Another way to force autolinking on/off is to use:
- <span class="link">text</span>
- <span class="nolink">text</span>
See also
External links
- Moodle:Autolinking (James Neill, 2008, slides)