Page 1 of 1

Navigation buttons not showing when topic is hidden in TOC

Posted: Tue Jan 24, 2023 9:48 pm
by richz
Hi, I'm using the oxygen XML editor v24.1 to publish a ditamap (the sample flowers.ditamap) into webhelp.

I duplicated the "DITA Map WebHelp Responsive" transformation scenario with the Oxygen [tree] template. I'm trying to show the previous/next navigation buttons on each webpage and I set the following parameters.

webhelp.default.collection.type.sequence = yes
webhelp.publication.toc.links = yes

The navigation buttons did show up on each page, which was great. However, when I set @toc="no" on one of the <topicref> (<topicref href="concepts/springFlowers.dita" toc="no">), that topic was hidden from the TOC and the navigation button also disappeared. Is there any way to always display the navigation buttons, regardless of the @toc attribute value?

Thanks!

Re: Navigation buttons not showing when topic is hidden in TOC

Posted: Tue Jan 31, 2023 12:47 pm
by Costin
Hi richz,

Thank you for the feedback you provided!
Topic references having the toc attribute set to "no" makes the specific topic(s) not being displayed from the table of contents and, as the topics are not present there, their links are also missing from the navigation.
This is intended behavior, that's how the current WebHelp implementation works, so you could not have the navigation links present if the topic references are missing from the toc.

Kind Regards,
Costin