Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Filter settings.

Filter settings

From MoodleDocs
Revision as of 11:27, 22 June 2007 by Helen Foster (talk | contribs) (content moved from Filters)

Location: Administration > Appearance > Filter settings


Text cache lifetime

To reduce load on the server and to speed display of pages, Moodle can store previously processed pages (that have not changed) for a period of time. This setting controls the time for which processed pages are stored. A longer setting may improve performance but has the effect that changes to pages may not become visible for a time. You can switch caching off completely here.

Filter uploaded files

This setting enables uploaded files (HTML and text only) to be processed by the filters system. You can choose to have none, only HTML or all files filtered.

Filter match once per page

This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match on the complete page will be converted to a link. All others will be ignored.

Filter match once per text

This setting effects the glossary, activity and resource linking filters. If set to yes, only the first match in a discrete block of text will be converted to a link. All others in that text block will be ignored.

Filter all strings

When set to yes, almost all Moodle text will be filtered. This is probably only necessary when using the multi-language filter.

Filter settings in Moodle 1.5

For earlier versions of Moodle, the filter/config.php file will need to be changed. The following two settings affect the glossary, activity and resource linking filters:

To convert only the first matching title on a page, insert or uncomment the following line in config.php: $CFG->filtermatchoneperpage = true;

To convert only the first matching title in a discrete block of text, insert or uncomment the following line in config.php: $CFG->filtermatchonepertext = true;

See also