Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Filters schema: Difference between revisions

From MoodleDocs
m (Filters schema moved to Development:Filters schema)
 
(4 intermediate revisions by 4 users not shown)
Line 5: Line 5:
These are the main areas to discuss/analyse/implement:
These are the main areas to discuss/analyse/implement:


* [[Course/site filters | Enable/Disable Filters by Course and Site]]
* [[Filter_enable/disable_by_context]] For example, enable the TeX filter only in the maths course or category. Or disable glossary auto-linking in a quiz.
* [[Course/site filter config | Optional Configuration of Filters by Course and Site]]
* [[Course/site filter config | Optional Configuration of Filters by Course and Site]]
* [[Multilang filter | Changes in the Caching System to Support the Multilang Filter]]
* [[Multilang filter | Changes in the Caching System to Support the Multilang Filter]]
* [[Enable/Disable Filters by Activities]]
* Allow filtering data before it will save in database? It will do possible exclude some data from text (like TeX formulas) and save in separate table. It will allow change formula by clicking on it and open popup window.
* Allow filtering data before it will save in database? It will do possible exclude some data from text (like TeX formulas) and save in separate table. It will allow change formula by clicking on it and open popup window.
* It'd be great if you could set the text cache lifetime for individual filters. This would be handy for filters that use external resources (e.g., Wikipedia) that sometimes have slow response times. I'd guess that you could use a cache lifetime of a week or more for a Wikipedia filter without causing major usability problems.
* It'd be great if you could set the text cache lifetime for individual filters. This would be handy for filters that use external resources (e.g., Wikipedia) that sometimes have slow response times. I'd guess that you could use a cache lifetime of a week or more for a Wikipedia filter without causing major usability problems.
* Mechanism like used with get_html_head_contributions in Questions


==See also==
==See also==


*[http://moodle.org/bugs/bug.php?op=show&bugid=2400 Bug 2400] - a lot of ideas and request have been written here
*[http://moodle.org/bugs/bug.php?op=show&bugid=2400 Bug 2400] - a lot of ideas and request have been written here
http://tracker.moodle.org/browse/MDL-9443 - add support for filtering XHTML resources as well as HTML.

Latest revision as of 07:40, 10 June 2011

The objective of this page is to document all the ideas and improvements to be implemented in the "Filters" functionality of Moodle.

Every idea will be documented here, including its associated "thoughts" and potential "implementations". Feel free to add/modify everything as you want!

These are the main areas to discuss/analyse/implement:

  • Filter_enable/disable_by_context For example, enable the TeX filter only in the maths course or category. Or disable glossary auto-linking in a quiz.
  • Optional Configuration of Filters by Course and Site
  • Changes in the Caching System to Support the Multilang Filter
  • Allow filtering data before it will save in database? It will do possible exclude some data from text (like TeX formulas) and save in separate table. It will allow change formula by clicking on it and open popup window.
  • It'd be great if you could set the text cache lifetime for individual filters. This would be handy for filters that use external resources (e.g., Wikipedia) that sometimes have slow response times. I'd guess that you could use a cache lifetime of a week or more for a Wikipedia filter without causing major usability problems.
  • Mechanism like used with get_html_head_contributions in Questions

See also

  • Bug 2400 - a lot of ideas and request have been written here

http://tracker.moodle.org/browse/MDL-9443 - add support for filtering XHTML resources as well as HTML.