Autolinking: Difference between revisions
From MoodleDocs
James Neill (talk | contribs) mNo edit summary |
James Neill (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
To force autolinking on/off, use: | To force autolinking on/off, use: | ||
* <nowiki><span class=" | * <nowiki><span class="link">text</span></nowiki> | ||
* <nowiki><span class="nolink">text</span></nowiki> | * <nowiki><span class="nolink">text</span></nowiki> | ||
[[Category:{{PAGENAME}}]] | [[Category:{{PAGENAME}}]] |
Revision as of 03:27, 2 September 2009
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) within the site with the same name.
Autolinking can be globally switched on/off in a site's settings, and specific links can be prevented by adding <nolink> ... </nolink> tags around the relevant content in HTML markup mode.
To force autolinking on/off, use:
- <span class="link">text</span>
- <span class="nolink">text</span>