Generico Filter

Filters ::: filter_generico
Maintained by Justin Hunt
Generico is a simple filter for creating templates of code snippets and text that can be inserted into Moodle text areas.

Generico Filter 1.3.1(Build 2016061200)

Moodle 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0, 3.1
Released: Sunday, June 12, 2016, 8:13 PM
Change List

Version 2016061200
Made a better parse implementation so that evil inivisible html that gets into the filter strings is stripped out
Added a new variable WWWROOT that fetches the url of the moodle site. This is already available in js as M.cfg.wwwroot but this variable helps you get it into the template body without messing around with js.
Improved detection of variabls used in the template when processing. Sometimes they would be missed if they were not defaults or in the body previously.

Version 2016021500
Added a MOODLEPAGEID variable just for getting the ?id=XX value
Could do a bit better by doing flexible url parsing time

Version 2016011800
Added support for DATASET variable

Version 2016011100
Added a new field for instructions for each template in the Generico Filter. If not blank, this will be displayed in the popup dialog for each template when using the Generico Atto plugin.

Version 2015121803
fixed a bug in the handle system

Version 2015121802
Added drag and drop/ click to export "bundles" for sharing templates

Version 2015121801
Fixed bug that broke AMD generico templates

Version 2015121401
Support for passing AMD params by HTML

Version information

Version build number
Version release name
1.3.1(Build 2016061200)
Stable version
MD5 Sum
Supported software
Moodle 2.1, Moodle 2.2, Moodle 2.3, Moodle 2.4, Moodle 2.5, Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit to finish the installation