Page 1 of 1

Tiles on Responsive Webhelp

Posted: Wed May 31, 2017 3:20 am
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?

Re: Tiles on Responsive Webhelp

Posted: Wed May 31, 2017 3:17 pm
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

Re: Tiles on Responsive Webhelp

Posted: Wed May 31, 2017 3:33 pm
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?

Re: Tiles on Responsive Webhelp

Posted: Wed May 31, 2017 5:12 pm
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

Re: Tiles on Responsive Webhelp

Posted: Wed May 31, 2017 5:23 pm
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.

Re: Tiles on Responsive Webhelp

Posted: Thu Jun 01, 2017 10:16 am
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/19.0/ug-editor/topics/whr-override-xslt-dita-xslt-import-sample.html

The WebHelp XSLT extension points are explained here:
https://www.oxygenxml.com/doc/versions/19.0/ug-editor/topics/whr-override-xslt-dita-xslt-import.html

Regards,
Ionela