customize webhelp topic page
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 158
- Joined: Fri Nov 10, 2017 8:16 am
customize webhelp topic page
Hi,
I saved all of my Scenario settings as a custom publishing templates for the webhelp output.
I want to customize the topic page.
I went to the page-templates folder, edit the wt_topic.html file.
I saw that:
The topic body is rendered from the "whc:webhelp_topic_content", is there any way that I can edit the "whc:webhelp_topic_content"?
I saved all of my Scenario settings as a custom publishing templates for the webhelp output.
I want to customize the topic page.
I went to the page-templates folder, edit the wt_topic.html file.
I saw that:
Code: Select all
<div id="wh_topic_body" class="col-lg-7 col-md-9 col-sm-9 col-xs-12">
<whc:webhelp_topic_content class="body"/>
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: customize webhelp topic page
Hello,
More specific, what do you need to achieve?
Please provide more details on what you mean by "I want to customize the topic page."
Regards,
Costin
More specific, what do you need to achieve?
Please provide more details on what you mean by "I want to customize the topic page."
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: customize webhelp topic page
Post by radu_pisoi »
Hi,
To change the content generated for the Topic Content component you need to use the com.oxygenxml.webhelp.xsl.dita2webhelp XSLT extension point.
This extension point allows you to override the XSLT stylesheet (dita2webhelp.xsl) that produces an HTML file for each DITA topic. The location of this file is:
The XSLT template that processes the webhelp_topic_content component can be found in:
search for the XSLT template:
To change the content generated for the Topic Content component you need to use the com.oxygenxml.webhelp.xsl.dita2webhelp XSLT extension point.
This extension point allows you to override the XSLT stylesheet (dita2webhelp.xsl) that produces an HTML file for each DITA topic. The location of this file is:
Code: Select all
{$DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\xsl\dita2webhelp\dita2webhelp.xsl
Code: Select all
{$DITA-OT-DIR}/plugins/com.oxygenxml.webhelp.responsive/xsl/template/topicComponentsExpander.xsl
Code: Select all
<xsl:template match="whc:webhelp_topic_content" mode="copy_template">
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
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