Each plugin has the configuration.ini file in a different place. Check this table to find your file.
| Integration | File |
|---|---|
| Moodle 1.x | filter/wiris/wrs_config.php (plugin version 2.3 or newer) |
| 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 |
| RadEditor in ASP.net | <RadEditor directory>/radeditor_wiris/configuration.ini |
| Cute Editor in ASP.net | <Cute Editor directory>/cuteeditor_wiris/configuration.ini |
| Any editor in Java | WEB-INF/pluginwiris/configuration.ini |
| Connection properties | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| wirisimageserviceprotocol | Specifies formula image server protocol. If left blank, it is computed automatically | http, https | |
| wirisimageservicehost(1) | Specifies formula image server host. | www.wiris.net | |
| wirisimageserviceport | Specifies formula image server port. If left blank, it is computed automatically | (number) | |
| wirisimageservicepath | Specifies formula image server path. | /demo/editor/render | |
| wirisimageservice version | Specifies formula image version. | 2.0 | 1.0, 2.0 |
| wirisproxy(2) | Specifies if your server is using a proxy connection or not. | false | true, 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. | ||
| Configuration & folder properties | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| wiriscachedirectory(3)(4) | Directory where the images of the created formulas are stored. | ||
| wirisformuladirectory(3)(4) | Directory where the created formulas are stored. | ||
| wirisstorageclass(3) | Name of the class that manages the storage of formulas. This is an advanced feature. | See this page. | See this page. |
| wirisconfigurationclass(3) | Name of the class that updates the loaded configuration. This is an advanced feature. | See this page. | See this page. |
| Style properties | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| wirisimagebackgroundcolor | Specifies formula background color. | #FFFFFF | |
| wirisimagecolor | Specifies formula foreground color. | #000000 | |
| wirisimagefontsize | Specifies formula font size. | 16px | |
| wirisfontfamily | Specifies formula font family. | Arial | |
| See also the style properties at WIRIS editor. | |||
| WIRIS editor properties | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| wirisrtllanguages | List of Right to Left languages. When the language parameter (see above) belongs to this list, formulas are edited right to left. | ar | See list of languages |
| wirisltrlanguages |
Used to define Left to Right languages and to overwrite For example, if |
ar_ma | See list of languages |
| wirisarabicindiclanguages | Used to define languages that use Arabic-Indic numerals(5). |
ar_eg, ar_sd, ar_sa | See list of languages |
| wiriseasternarabicindiclanguages | Used to define languages that use Eastern Arabic-Indic numerals(5). |
fa, ps, ur | See list of languages |
| wiriseuropeanlanguages | Used to define languages that use European numerals and overwrite arabicIndicLanguages and easternArabicIndicLanguages(5). |
See list of languages | |
See also the arabic countries table.
(5) Numbers entered with keyboard are replaced by their equivalents in the numerals assigned to the current editor language.
| WIRIS cas properties | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| 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_width | Specifies the default CAS applet width. | 450 | |
| CAS_height | Specifies the default CAS applet height. | 400 | |
| WIRIS editor 2 properties (old) | |||
|---|---|---|---|
| Key | Description | Default value | Possible values |
| wirisformulaeditor codebase(1) | Specifies where is your formula editor applet codebase. | http://www.wiris.net/ demo/formula/codebase/ | |
| wirisformulaeditorarchive | Specifies the formula editor applet file name. | wiriseditor.jar | |
| wirisformulaeditorcode | Specifies main formula editor applet class. | WirisFormulaEditor | |
| wirisformulaeditorlang |
Specifies main formula editor language. See list of languages |
en | |
(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 www.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.
Some configuration parameters should be defined directly in the following javascript files.
| JavaScript configuration files | |||
|---|---|---|---|
| Integration | File | ||
| CKEditor | ckeditor/plugins/ckeditor_wiris/plugin.js |
||
| FCKEditor | fckeditor/editor/plugins/fckeditor_wiris/fckplugin.js |
||
| TinyMCE | tiny_mce/plugins/tiny_mce_wiris/editor_plugin.js |
||
| Xinha | xinha/plugins/xinha_wiris/xinha_wiris.js |
||
| Generic | pluginwiris/integration/integration.js |
||