WIRIS Plugin configuration table

Configuration files location

IntegrationFile
Moodle 1.xfilter/wiris/wrs_config.php (plugin version 2.3 or newer)
pluginwiris/wrs_config.php (plugin version 2.2 or older)
FCKEditor in PHP, ASP and ASP.net<FCKEditor directory> /editor/plugins/fckeditor_wiris/configuration.ini
CKEditor in PHP, ASP and ASP.net<CKeditor directory> /plugins/ckeditor_wiris/configuration.ini
TinyMCE in PHP, ASP and ASP.net<TinyMCE directory> /jscripts/tiny_mce/plugins/tiny_mce_wiris/configuration.ini
Xinha in PHP, ASP and ASP.net<Xinha directory>/plugins/xinha_wiris/configuration.ini
NicEdit in PHP, ASP and ASP.net<NicEdit directory>/nicedit_wiris/configuration.ini
Any editor in JavaWEB-INF/pluginwiris/configuration.ini

Configuration table

 Key  Description  Default value  Possible values 
wirisimageservicehost(1)Specifies formula image server host.services.wiris.net 
wirisimageserviceportSpecifies formula image server port.80 
wirisimageservicepathSpecifies formula image server path./demo/formula/render/demo/formula/render, /demo/formula.latest/render
wirisimageserviceversionSpecifies formula image version.2.01.0, 2.0
wirisimagebgcolorSpecifies formula background color.#FFFFFF 
wiristransparencySpecifies whether formula background must be transparent.truetrue, false
wirisimagesymbolcolorSpecifies formula foreground color.#000000 
wirisimagefontsizeSpecifies formula font size.16 
wirisformulaeditorcodebase(1)Specifies where is your formula editor applet codebase.http://services.wiris.net/demo/formula/codebase/http://services.wiris.net/demo/formula/codebase/, http://services.wiris.net/demo/formula.latest/codebase/
wirisformulaeditorarchiveSpecifies the formula editor applet file name.wiriseditor.jar 
wirisformulaeditorcodeSpecifies main formula editor applet class.WirisFormulaEditor 
wirisformulaeditorlang

Specifies main formula editor language.

ar العربية      Arabic
ca Català       Catalan
cs Česky        Czech
de Deutsch      German
da Dansk        Danish
en English      English
es Español      Spanish
et Eesti        Estonian
eu Euskara      Basque
fi Suomi        Finnish
fr Français     French
gl Galego       Galician
he עברית        Hebrew
hr Hrvatski     Croatian
hu Magyar       Hungarian
it Italiano     Italian
ja 日本語        Japanese
ko 한국어        Korean
nl Nederlands   Dutch
no Norsk        Norwegian
pl Polski       Polish
pt Português    Portuguese
ru Русский      Russian
sv Svenska      Swedish
tr Türkçe       Turkish
zh 中文          Chinese
en 
wiriscascodebase(1)Specifies where is your CAS applet codebase.http://www.wiris.net/demo/wiris/wiris-codebase/ 
wiriscasarchive(1)Specifies the CAS applet file name.wrs_net_en.jar 
wiriscasclass(1)Specifies main CAS applet class.WirisApplet_net_en 
CAS_widthSpecifies the default CAS applet width.450 
CAS_heightSpecifies the default CAS applet height.400 
wirisproxy(2)Specifies if your server is using a proxy connection or not.falsetrue, false
wirisproxy_host(2)If wirisproxy is true, this value specifies the proxy host.  
wirisproxy_port(2)If wirisproxy is true, this value specifies the proxy port.  
wirisstorageclass(3)Name of the class that manages the storage of formulas.See this page.See this page.
wirisconfigurationclass(3)Name of the class that updates the loaded configuration.See this page.See this page.
wiriscachedirectory(3)(4)Directory where the images of the created formulas are stored.  
wirisformuladirectory(3)(4)Directory where the created formulas are stored.  

(1)The WIRIS plugin needs to access an external server to get additional resources (formula editor applet, image service and WIRIS cas). See architecture for more information. The default configuration connects to services.wiris.com to get such services. However, you might consider acquiring a production access. Under certain circumstances it is possible to install all necessary services in the customer server (not only the plugin).

(2)These options are only available on PHP integrations.

(3)These options are only available on Java integrations.

(4)These options must be filled on Java integrations and are not optional.

Advanced: you can also modify other values in javascript environment. Open the corresponding file according this table and read the first few lines.

IntegrationFile
CKEditorckeditor/plugins/ckeditor_wiris/plugin.js
FCKEditorfckeditor/editor/plugins/fckeditor_wiris/fckplugin.js
TinyMCEtiny_mce/plugins/tiny_mce_wiris/editor_plugin.js
Xinhaxinha/plugins/xinha_wiris/xinha_wiris.js
Genericpluginwiris/integration/integration.js