Page 1 of 1
Rel. Links Displaying Above Hierarchy Links
Posted: Wed Jan 11, 2017 9:00 pm
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?
Re: Rel. Links Displaying Above Hierarchy Links
Posted: Thu Jan 12, 2017 4:27 pm
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