Tiles on Responsive Webhelp

Post here questions and problems related to editing and publishing DITA content.
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Tiles on Responsive Webhelp

Post by dgallo »

In Oxygen 18.1 responsive webhelp I want to organize the tiles in a different order than they appear in the actual TOC. Is there a way to have tiles appear in the homepage, but turn them off in the TOC that appears once you click a tile?
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: Tiles on Responsive Webhelp

Post by ionela »

Hi,

The tiles order in the main page is the same with the order of the first level topics from the ditamap.
Therefore, the easiest way to have another tiles order is to reorganize the ditamap and put the first level topics in the order you may need.

If you want to have the tiles appearing in the homepage, but you need to hide the side TOC when a topic is opened, you should edit the transformation scenario (DITA Map to WebHelp Responsive) and set the webhelp.show.side.toc parameter to no.

I hope this helps.

Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Re: Tiles on Responsive Webhelp

Post by dgallo »

What if I want a tile to appear for a topic in the homepage, but not be present in the TOC. Is that possible?
schelmenzunft
Posts: 5
Joined: Wed Jun 08, 2016 11:47 am

Re: Tiles on Responsive Webhelp

Post by schelmenzunft »

That's a DITA feature, not Webhelp specific.

If you'd like to exclude a topic from being listed in a TOC, set the toc attribute to no in your topicref, for example:

Code: Select all

<topicref href="topics/my_topic.dita" toc="no">
Greetings,
Franz-Josef
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Re: Tiles on Responsive Webhelp

Post by dgallo »

Yes, but if I do that the tile will not appear on the homepage. I want the tile to appear on the homepage, but I do not want the title to display in the TOC once you click the tile.
ionela
Posts: 402
Joined: Mon Dec 05, 2011 6:08 pm

Re: Tiles on Responsive Webhelp

Post by ionela »

Hi,

If you want to modify the side TOC and exclude the top level entry (first topic) you need to develop an WebHelp customization.
To achieve this, a good starting point is this example from our user-manual:
https://www.oxygenxml.com/doc/versions/ ... ample.html

The WebHelp XSLT extension points are explained here:
https://www.oxygenxml.com/doc/versions/ ... mport.html

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