Tiles on Responsive Webhelp

dgallo
Posts: 82

Tiles on Responsive Webhelp

Wed May 31, 2017 3:20 am

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: 173

Re: Tiles on Responsive Webhelp

Wed May 31, 2017 3:17 pm

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: 82

Re: Tiles on Responsive Webhelp

Wed May 31, 2017 3:33 pm

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: 3

Re: Tiles on Responsive Webhelp

Wed May 31, 2017 5:12 pm

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: 82

Re: Tiles on Responsive Webhelp

Wed May 31, 2017 5:23 pm

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: 173

Re: Tiles on Responsive Webhelp

Thu Jun 01, 2017 10:16 am

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
Ionela Istodor
oXygen XML Editor and Author Support

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests