Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Autolinking.

Autolinking: Difference between revisions

From MoodleDocs
(To force autolinking on/off, use: * <span class="nolink">text</span> * <span class="nolink">text</span>)
(changed Category to Filter)
 
(10 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, and specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode.
Autolinking can be globally switched on/off in a site's settings by going to Site Administration>Modules>Filters>Manage Filters.


To force autolinking on/off, use:
Specific links can be prevented by adding <nowiki><nolink> ... </nolink></nowiki> tags around the relevant content in HTML markup mode.
* <span class="nolink">text</span>
* <span class="nolink">text</span>


[[Category:{{PAGENAME}}]]
Another way to force autolinking on/off is to use:
* <nowiki><span class="link">text</span></nowiki>
* <nowiki><span class="nolink">text</span></nowiki>
 
==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

glossary autolinking.png

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