These are installation instructions for Moodle 2.x. There is another page for installation instructions for Moodle 1.x.
It’s important to note that the installation of the WIRIS plugin for Moodle 2.x implies installing two components: the WIRIS plugin for Moodle 2 and a configured version of the WIRIS plugin for TinyMCE.
1 Install WIRIS plugin for Moodle 2
The WIRIS plugin for Moodle is a Moodle filter. To install the filter, it suffices to copy the content of the package into the folder filter under the root of moodle.
2 Install WIRIS plugin for TinyMCE
2.1 For Moodle 2.4 and 2.5
Starting from Moodle 2.4 WIRIS plugin for TinyMCE is a standard Moodle plugin. To install it just copy the tiny_mce_wiris directory into lib\editor\tinymce\plugins under the root of moodle.
2.2 For Moodle 2.2 and 2.3
- Copy the files in TinyMCE plugins folder
You need to install a pre-configured version of the WIRIS plugin for TinyMCE that can be found here.Unzip the above file and copy the tiny_mce_wiris directory into lib\editor\tinymce\tiny_mce\<tiny_mce-version>\plugins under the root of moodle.
- Activate the icons in the TinyMCE editor
Edit the file lib\editor\tinymce\lib.php and before the line (which is by the end of the file)
insert the following code in dark green$params['plugins'] .= ",tiny_mce_wiris";
$params['theme_advanced_buttons3'] = "tiny_mce_wiris_formulaEditor,tiny_mce_wiris_CAS,|," . $params['theme_advanced_buttons3'];
3 Enable the WIRIS plugin for Moodle 2
To enable the WIRIS plugin for Moodle, login as administrator and go to Settings, Site administration, Plugins, Filters and Manage filters. You will see the Wiris filter and you will be able to enable it.
In order to avoid problems, Wiris filter must be the first. For sure it must be placed before Convert URLs into links and images.
4 Check all is OK
The best way to check all is OK is just to create a formula, save and display it.
Additionally there is an info page at
http://<moodle>/filter/wiris/info.php. In any issue, please send screenshots of that to support.