Auto-linking: Difference between revisions
From MoodleDocs
James Neill (talk | contribs) ==See also== * HTML linking |
Henry Happ (talk | contribs) m added location for global settings for auto-linking |
||
| Line 2: | Line 2: | ||
'''{{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. | '''{{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. | ||
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: | Another way to force autolinking on/off is to use: | ||
Revision as of 23:44, 25 January 2010

Auto-linking 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.
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>