Rel. Links Displaying Above Hierarchy Links

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

Rel. Links Displaying Above Hierarchy Links

Post by dgallo »

In Oxygen 18.1, using the responsive webhelp, if a topic has both hierarchy links and Relationship table links, the Relationship table links display above the hierarchy links in the output. Should be be opposite, the hierarchy links should display first, and the Relationship table links should show up at the bottom.

Also, when there is an <xref> to another topic in a map, clicking on the xref opens the topic and does not display the TOC. Is this a bug?
alin
Site Admin
Posts: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Rel. Links Displaying Above Hierarchy Links

Post by alin »

Hello,
dgallo wrote:In Oxygen 18.1, using the responsive webhelp, if a topic has both hierarchy links and Relationship table links, the Relationship table links display above the hierarchy links in the output. Should be be opposite, the hierarchy links should display first, and the Relationship table links should show up at the bottom.
You can edit the topic file template and swap the following two elements:

Code: Select all

<whc:webhelp_related_links/>
<whc:webhelp_child_links/>
The topic file template is located at: [DITA_OT_DIR]/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_topic.html
DITA_OT_DIR is defined here: https://www.oxygenxml.com/doc/versions/ ... t-dir.html
dgallo wrote:Also, when there is an <xref> to another topic in a map, clicking on the xref opens the topic and does not display the TOC. Is this a bug?
The side TOC is generated only for the topics linked from the DITA map (using <topicref>). If the topic is linked only from another topic and not from the map, then it will not have a TOC. The TOC is based on the topics hierarchy defined in the DITA map (netsted topicrefs).

In addition to this, if the topic is linked from the map, but it is a top level topic and does not have subtopics, then is will not have a TOC.
The structure of the side TOC component is described in our User Manual: https://www.oxygenxml.com/doc/versions/ ... n_side_toc

Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply