×

Discover

WIRIS plugin for Sakai

DOWNLOAD (CKeditor plugin, for Sakai 2.8 or higher)
DOWNLOAD (FCKeditor plugin, for Sakai 2.7)

1 Requirements

  • Sakai 2.7 or higher (it might work on older versions of Sakai).
  • A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.

2 Installation

Sakai 10.x - CKeditor 4.x

Sakai 10.x uses CKeditor 4.x. You can follow the installation instructions of WIRIS plugin for CKeditor but instead of editing config.js you need to edit <webapps>/library/editor/ckeditor.launch.js . You need to add different lines depending on where you place ckeditor_wiris:

Changes if you place ckeditor_wiris inside /library/editor/ckeditor/plugins

Add ckeditor_wiris to this line:

ckconfig.extraPlugins+="audiorecorder,movieplayer,wordcount,fmath_formula,ckeditor_wiris";

 

Changes if you place ckeditor_wiris inside /library/editor/ckextraplugins

Add this line after your other CKEDITOR.plugins.addExternal lines:

CKEDITOR.plugins.addExternal('ckeditor_wiris',basePath+'ckeditor_wiris/','plugin.js');

Add ckeditor_wiris to this line:

ckconfig.extraPlugins+="audiorecorder,movieplayer,wordcount,fmath_formula,ckeditor_wiris";

Additionaly, you need to edit /ckeditor_wiris/plugin.js file. Look for _wrs_conf_path, _wrs_int_editorIcon and _wrs_int_CASIcon and change their values:

var _wrs_conf_path = CKEDITOR.basePath + '/../../ckextraplugins/ckeditor_wiris';
var _wrs_int_editorIcon = CKEDITOR.basePath + '/../../ckextraplugins/ckeditor_wiris/core/icons/formula.gif';
var _wrs_int_CASIcon = CKEDITOR.basePath + '/../../ckextraplugins/ckeditor_wiris/core/icons/cas.gif';

 

Sakai 2.7 or older - FCKeditor

You can follow the installation instructions of WIRIS plugin for FCKeditor with the following important difference: you should edit fckeditor/config.js instead of fckeditor/fckconfig.js

After installing the plugin you should enable the popup windows:

  1. Edit the file <webapps>/library/editor/FCKeditor/editor/plugins/fckeditor_wiris/fckplugin.js and set
  2. parent._wrs_conf_usePopUps = true;