Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: Filters FAQ.

Filters FAQ

From MoodleDocs
Revision as of 18:36, 22 September 2021 by Tim Bahula 2 (talk | contribs) (→‎What are filters?: clean up, typos fixed: For example → For example,)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What are filters?

Filters allow for the automatic transformation of entered text into different, often more complex forms. For example, the titles of resources can automatically become hyperlinks that take you to the relevant resource, URLs pointing to mp3 files can become Flash controls embedded in the web page that let you pause and rewind the audio. The possibilities are endless and there are a number of standard filters included with Moodle and many more specialized filters available from the Modules and plugins database.

See Filters for details.

How do I enable filters?

You find the settings under Administration > Site administration > Plugins > Filters > Manage filters, see Managing filters for details.

Why is my filter not working?

After checking that the filter is enabled for the site, course and activity or resource, go to Site administration > Plugins > Filters > Manage filters and try moving the filter higher up the list. See the forum discussion Moodle Media player not appearing for an example.

If you have enabled the automatic URL conversion filter but do not see the result in forum posts or on a page resource, you will need to enable HTML content in "filter_urltolink | formats".

Where do I find additional filters?

You will find a number of contributed filters in the Moodle Plugins directory.

How do I create custom filters?

See the following developer docs for details:

See also