Documentation page

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.

2 Move integration directory

.NET and PHP

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

Java

  1. Change the src of WIRISplugin.js to "<protocol>://<server>:<port>/<pluginwiris_engine-path>/app/WIRISplugins.js?viewer=image"
  2. Add wiriscontextpath="<protocol>://<server>:<port>/<pluginwiris_engine-path>" in your configuration.ini file.
  3. Edit <plugin-path>/plugins.js and set _wrs_int_conf_file="<protocol>://<server>:<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 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.