How to customize Related Links section with a single heading
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
How to customize Related Links section with a single heading
Post by ann.jensen »
Hi,
I want to collapse all items defined in a topic's <related-links> so that there is one generic heading "Related topics" and the links are not divided up into groups by topic type with different headings.
I am reviewing plugins
\org.dita.base\xsl\common\related-links.xsl and \org.dita.html5\xsl\rel-links.xsl
but am unsure which template I can customize to either
1. not look at the related links as groups
or
2. only output one heading for all groups
Has anyone tried this before?
Thanks in advance,
Ann
I want to collapse all items defined in a topic's <related-links> so that there is one generic heading "Related topics" and the links are not divided up into groups by topic type with different headings.
I am reviewing plugins
\org.dita.base\xsl\common\related-links.xsl and \org.dita.html5\xsl\rel-links.xsl
but am unsure which template I can customize to either
1. not look at the related links as groups
or
2. only output one heading for all groups
Has anyone tried this before?
Thanks in advance,
Ann
-
- Posts: 52
- Joined: Thu Mar 05, 2009 11:44 am
Re: How to customize Related Links section with a single heading
Hello,
The presentation of the related links is controlled by a WebHelp transformation parameter called webhelp.rellinks.group.mode.
Its default value is single-group and should group all types of related links under one category called Related Information which I think is the behavior you expect.
This is what I get in the output when changing the value of the webhelp.rellinks.group.mode parameter:
If is the default value, maybe you have a customization that overrides its behavior.
The presentation of the related links is controlled by a WebHelp transformation parameter called webhelp.rellinks.group.mode.
Its default value is single-group and should group all types of related links under one category called Related Information which I think is the behavior you expect.
This is what I get in the output when changing the value of the webhelp.rellinks.group.mode parameter:
rlb.png
Can you check the value of this parameter in your transformation?If is the default value, maybe you have a customization that overrides its behavior.
You do not have the required permissions to view the files attached to this post.
Marius Ciolacu
Syncro Soft / Oxygen XML
Syncro Soft / Oxygen XML
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: How to customize Related Links section with a single heading
Post by ann.jensen »
Hi Marius,
Thanks so much for your reply. Can you help me understand what that setting impacts in relation to the base org.dita.html5 transform? Does it customize one of the base templates?
Regards,
Ann
Thanks so much for your reply. Can you help me understand what that setting impacts in relation to the base org.dita.html5 transform? Does it customize one of the base templates?
Regards,
Ann
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: How to customize Related Links section with a single heading
Post by ann.jensen »
Hi Marius,
Your reply managed to help me on a path to find a general solution in https://groups.google.com/g/dita-ot-use ... N3_e3lAQAJ.
Sharing here in case someone else needs it.
Thanks again,
Regards,
Ann
Your reply managed to help me on a path to find a general solution in https://groups.google.com/g/dita-ot-use ... N3_e3lAQAJ.
Sharing here in case someone else needs it.
Thanks again,
Regards,
Ann
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service