Only show child links in certain topics
Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
			- 
				ahiggins
- Posts: 12
- Joined: Mon Jun 06, 2022 10:10 pm
Only show child links in certain topics
Hi,
I'm using Oxygen XML Editor v.24.0.
I use a Publishing Template to set parameters and other customizations. I've set webhelp.show.child.links="yes" but I only want child links to display in certain topics. Is there a workaround, or do I need to update my ditamaps to change this?
Thanks,
Amy
			
			
									
									
						I'm using Oxygen XML Editor v.24.0.
I use a Publishing Template to set parameters and other customizations. I've set webhelp.show.child.links="yes" but I only want child links to display in certain topics. Is there a workaround, or do I need to update my ditamaps to change this?
Thanks,
Amy
- 
				alin
- Site Admin
- Posts: 276
- Joined: Thu Dec 24, 2009 11:21 am
Re: Only show child links in certain topics
Hello,
There is no out-of-the-box solution to hide the Child Links component in some topics and have it displayed in other topics.
However, you can use a custom CSS to achieve this. The WebHelp Responsive output can be customized using CSS. You can find more details in our User Manual: https://www.oxygenxml.com/doc/versions/ ... h-css.html
You can set a custom @outputclass on the root of each topic where you want the Child Links component to be hidden:
The value of the @outputclass will be transferred in the value of the  @class attribute on the <body> element of the generated HTML output file.
You can use the following CSS rule to hide the Child Links component: 
Regards,
Alin
			
			
									
									There is no out-of-the-box solution to hide the Child Links component in some topics and have it displayed in other topics.
However, you can use a custom CSS to achieve this. The WebHelp Responsive output can be customized using CSS. You can find more details in our User Manual: https://www.oxygenxml.com/doc/versions/ ... h-css.html
You can set a custom @outputclass on the root of each topic where you want the Child Links component to be hidden:
Code: Select all
<topic id="care" outputclass="child-links-hidden">
    <title>Care and Preparation</title>
    <!-- [...] The rest of the DITA Topic -->
</topic>    
Code: Select all
<body id="care" class="wh_topic_page child-links-hidden doc-ready">
  <!-- [...] -->
</body>
Code: Select all
.child-links-hidden .wh_child_links {
  display: none;
}
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
						Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
			
				Jump to
				
			
		
			
			
	
	- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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