[oXygen-user] Customizing responsive webhelp: adding an imagemap to the tiles

Oxygen XML Editor Support (Radu Pisoi) support at oxygenxml.com
Mon Dec 3 08:50:18 CST 2018


Hi,

The single solution for this use case is to add an XSLT extension point 
that allows you to overwrite the tiles generation. The XSLT extension 
that allows you to overwrite the templates used to generate the main 
page is: /com.oxygenxml.webhelp.xsl.createMainPage:/

> https://www.oxygenxml.com/doc/versions/20.1/ug-webhelp-responsive/topics/whr-responsive-override-xslt-dita-xslt-import.html#whr-responsive-override-xslt-dita-xslt-import__xsl-creatMainPage

The template that generates the main page is /<xsl:template 
match="toc:topic" mode="create-tiles">/. It is located in the 
/${DITA-OT-DIR}/plugins/com.oxygenxml.webhelp.responsive/xsl/template/mainPageComponentsExpander.xsl///folder.

The publishing template allows you to specify one or more XSLT extension 
points, please see the following topic:

> https://www.oxygenxml.com/doc/versions/20.1/ug-webhelp-responsive/topics/whr-responsive-override-xslt-dita-xslt-import.html#whr-responsive-override-xslt-dita-xslt-import__extension_points_from_an_oxygen_publishing_templa

Regards,
Radu
--
Radu Pisoi
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 11/27/2018 2:58 PM, Yves Barbion wrote:
> Hi oXygen users
>
> I'm generating responsive webhelp from DITA content and I'd like to 
> add an imagemap to the tiles. I have already found this topic, which 
> describes how to add an image, but can something like this also be 
> done with an imagemap so when the user clicks the image itself, he or 
> she will jump to a specific URL?
>
> https://www.oxygenxml.com/doc/versions/19.1/ug-editor/topics/whr-configure-tiles.html#whr-configure-tiles__how_to_add_an_image_to_the_tiles
>
> Thanks
>
> Yves
>
> _______________________________________________
> oXygen-user mailing list
> oXygen-user at oxygenxml.com
> https://www.oxygenxml.com/mailman/listinfo/oxygen-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20181203/9dd7aa56/attachment.html>


More information about the oXygen-user mailing list