Problems with Oxygen WebHelp 21.1 (DITA-OT) plug-in

Having trouble installing Oxygen? Got a bug to report? Post it all here.
jbisso
Posts: 4
Joined: Fri Mar 29, 2013 5:03 pm

Problems with Oxygen WebHelp 21.1 (DITA-OT) plug-in

Post by jbisso »

I am having trouble updating from our previous version of the Oxygen WebHelp plug-in for DITA-OT. I have a small project hosted on Github that creates the context.

https://github.com/jbisso/oxygen-example.git

The README.txt file provides the setup and build context for the question I have.

I have been trying to get our (web assets) code to work with the new 21.1 Oxygen WebHelp plug-in. (This is the first version where you started using requirejs to maintain dependencies.) Our problem is calling some functionality in the jquery-ui module (dealing with modal dialogs). Could you please advise?
Jim Bisso
DataStax
ionela
Posts: 407
Joined: Mon Dec 05, 2011 6:08 pm

Re: Problems with Oxygen WebHelp 21.1 (DITA-OT) plug-in

Post by ionela »

Hi Jim,

We have already replied by email regarding this issue. Just to update the thread, please find the response below.

The Publishing Template mechanism from Oxygen WebHelp offers you the possibility to include a JavaScript AMD module in the output HTML files. The procedure is described in our User Manual:How to Insert JavaScript AMD Modules in WebHelp Responsive Output

The problem you are encountering with the jquery-ui module is because the module that is bundled in the WebHelp distribution does not include all the JQuery UI components.

A sample Publishing Template that loads your JS module using the procedure mentioned above and also includes the full version of the JQuery UI library can be downloaded here: https://oxygenxml.com/forum/files/amd-test-jbisso.zip

Unfortunately, the Fancybox library is not an AMD module and it should loaded directly from your HTML files. This can be achieved using an HTML fragment declared in the attached template. The HTML fragment also contains a link to the embedded JQuery UI's CSS.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
Post Reply