Documentation page

19 Jan 2015

From plugin version 3.50.0, WIRIS editor is embedded in a static file you can customize to suit your project requirements or application look and feel. The location of this custom page is /<plugin_path>/integration/editor.html. Please note that in order to override some WIRIS editor default CSS rules you may need to include !important.

More customization variables are available in the configuration.ini file.

12 Jan 2015

1 Introduction

From version 3.53.2 it is possible to place the plugin's dynamic contents in a different server. To enable the communication between servers you need to change the location of your plugin dynamic contents directory (integration) and enable CORS in your configuration.ini file.

Note: In the instructions below <server-static> will be the static content server and <server-dynamic> the dynamic content server.

2 Move integration directory

.NET and PHP

  1. Move the integration directory to <server-dynamic>/<plugin-path>.
  2. Move your configuration.ini file next to the integration directory on <server-dynamic>:
    <server-dynamic>/<plugin-path>/integration
    <server-dynamic>/<plugin-path>/configuration.ini
  3. Change the src of WIRISplugin.js in <server-static> to "<protocol>://<server-dynamic>:<port>/<plugin-path>/integration/WIRISplugins.js?viewer=image"
  4. Add wiriscontextpath="<protocol>://<server-dynamic>:<port>/<plugin-path>" variable in your configuration.ini file.
  5. Edit <server-static>/<plugin-path>/<plugin>.js and set _wrs_int_conf_file="<protocol>://<server-dynamic>:<port>/<plugin-path>/configurationjs.<aspx|php>"

Java

  1. Change the src of WIRISplugin.js in <server-static> to "<protocol>://<server-dynamic>:<port>/<pluginwiris_engine-path>/app/WIRISplugins.js?viewer=image"
  2. Add wiriscontextpath="<protocol>://<server-dynamic>:<port>/<pluginwiris_engine-path>" in your configuration.ini file.
  3. Edit <server-static>/<plugin-path>/<plugin>.js and set _wrs_int_conf_file="<protocol>://<server-dynamic>:<port>/<pluginwiris_engine-path>/app/configurationjs"
  4. Open wirisplugin-engine.jar inside pluginwiris_engine/WEB-INF/lib and change the value of  this.javaServicePath in WIRISplugins.js

3 Enable CORS

  1. Add wiriscorsenabled=true in your server-dynamic's configuration.ini file.
  2. If you need to enable CORS only for a group of servers you need to follow these additional steps too:
    1. Add a file called corsservers.ini at the same directory level of configuration.ini file.
    2. Add the servers you need in corsservers.ini (one per line) using this format: <protocol>://<server>:<port>
29 Aug 2014

WIRIS plugins integrations allow to integrate WIRIS editor and WIRIS cas in a group of HTML editors. These editors are widely used in thousands of web platfoms.

In order to integrate WIRIS tools with your rich text editor, you require some scripting. We include some integration demos, our live demos, to ease the integration process.

NOTE: the following links give you access to several WIRIS plugin integrations demo source code. Those files are not the WIRIS plugin themselves. You can find WIRIS plugin BETA files in WIRIS plugins BETA download page.

22 Jan 2014

WIRIS editor is an App that can be easily included into your Canvas course.

  1. Go to Course Settings
  2. Go to Apps tab
  3. Look for WIRIS
  4. Activate the App

WIRIS activation in a Canvas course

15 Nov 2013

This is the class reference of the WIRIS quizzes generic integration library. These classes are available for PHP, Java, .NET, ActionScript and JavaScript although the documentation itself is a Javadoc. The generic integration library is included in the getting started examples download packages.