Documentation page

10 Apr 2015

DOWNLOAD
1 Requirements

Typo 6.x Installed
A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.
Typo 6.x Installed
A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.
Typo 6.x Installed
A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.
Typo 6.x Installed
A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.
Typo 6.x Installed
A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.
  • Typo 6.x Installed
  • A valid license to install the plugin in a production environment; otherwise, you can use the downloaded file just for demo purposes.

2 Copy files

  1. Unzip Wiris plugin for Typo3 on typo3conf/ext directory
  2. Activate Wiris plugin for Typo3 in your Typo3 extension manager.
  3. Give write permissions to permissions to /typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/formulas and /typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/cache directories to the web server. 

3  Page TSconfig

  1. Add wiris button to RTE toolbar: RTE.default.showButtons := addToList(wirisplugin)
  2. Add MathML specification to allowed tags: 
RTE.default.proc {
 
allowTags := addToList(math,menclose,merror,
mfenced,mfrac,mglyph,
mi,mlabeledtr,mmultiscripts,
mn,mo,mover,
mpadded,mphantom,mroot,
mrow,ms,mspace,msqrt,
mstyle,msub,msubsup,
msup,mtable,mtd,
mtext,mtr,munder,
munderover,semantics,maction, annotation)
 
allowTagsInTypolists := addToList(math,menclose,merror,
mfenced,mfrac,mglyph,
mi,mlabeledtr,mmultiscripts,
mn,mo,mover,
mpadded,mphantom,mroot,
mrow,ms,mspace,msqrt,
mstyle,msub,msubsup,
msup,mtable,mtd,
mtext,mtr,munder,
munderover,semantics,maction, annotation)
 
allowTagsOutside := addToList(math,menclose,merror,
mfenced,mfrac,mglyph,
mi,mlabeledtr,mmultiscripts,
mn,mo,mover,
mpadded,mphantom,mroot,
mrow,ms,mspace,msqrt,
mstyle,msub,msubsup,
msup,mtable,mtd,
mtext,mtr,munder,
munderover,semantics,maction, annotation)
 
removeTags := removeFromList(math,menclose,merror,
mfenced,mfrac,mglyph,
mi,mlabeledtr,mmultiscripts,
mn,mo,mover,
mpadded,mphantom,mroot,
mrow,ms,mspace,msqrt,
mstyle,msub,msubsup,
msup,mtable,mtd,
mtext,mtr,munder,
munderover,semantics,maction, annotation)
 
entryHTMLparser_db.htmlSpecialChars = -1
entryHTMLparser_db.allowTags < RTE.default.proc.allowTags
 
}
 

3  Template configuration 

Include WIRISplugins.js into frontend pages: 
 
 
page.includeJSlibs {    
    wirispluginengine = typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/integration/WIRISplugins.js?viewer=image
    wirispluginengine.external = 1
    wirispluginengine.disableCompression = 1
    wirispluginengine.excludeFromConcatenation = 1
    wirispluginengine.forceOnTop = 1
}
  1. Include WIRISplugins.js
page.includeJSlibs {    
    wirispluginengine = typo3conf/ext/wiris_plugin/htmlarea/plugins/WirisPlugin/integration/WIRISplugins.js?viewer=image
    wirispluginengine.external = 1
    wirispluginengine.disableCompression = 1
    wirispluginengine.excludeFromConcatenation = 1
    wirispluginengine.forceOnTop = 1
}
 
    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.