Customizing the WebHelp Transform
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 2
- Joined: Mon Oct 28, 2013 6:22 pm
Customizing the WebHelp Transform
Post by ultra9gogo »
Hello All,
I have a need to implement search and indexing functionality into my help system. The WebHelp transform provides this functionality. However, I want to have my own home page, without a table of contents on the side. Just a flat page with links.
Changing this would be done in the plugin I assume. However, looking at the code, I am unable to determine where this is done.
Can anyone advise?
Thanks!
I have a need to implement search and indexing functionality into my help system. The WebHelp transform provides this functionality. However, I want to have my own home page, without a table of contents on the side. Just a flat page with links.
Changing this would be done in the plugin I assume. However, looking at the code, I am unable to determine where this is done.
Can anyone advise?
Thanks!
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customizing the WebHelp Transform
Post by sorin_ristache »
Hello,
The Webhelp home page is created in the template called "create-toc-noframes-file" in the file:
If you want to customize the content of the Webhelp home page you may look at and modify this template.
The content of the Table of Contents pane on the left side of the Webhelp page is created in the template called "create-toc-common-file". You did not specify what you want to have in the flat page with links but you may want to look at the toc.html page created by this template.
Regards,
Sorin
The Webhelp home page is created in the template called "create-toc-noframes-file" in the file:
Code: Select all
[Oxygen-install-dir]\frameworks\docbook\xsl\com.oxygenxml.webhelp\xsl\createMainFiles.xsl
The content of the Table of Contents pane on the left side of the Webhelp page is created in the template called "create-toc-common-file". You did not specify what you want to have in the flat page with links but you may want to look at the toc.html page created by this template.
Regards,
Sorin
-
- Posts: 2
- Joined: Mon Oct 28, 2013 6:22 pm
Re: Customizing the WebHelp Transform
What would be the "best practice" for making customizations to that file without directly modifying it in the frameworks directory?
I recently made minor changes to it (adding <label> tags to the search and index forms and title attributes to the frames) but I felt like bad practice to touch it directly. There doesn't seem to be a built-in mechanism like the customization directory parameter used for DITA PDF customization.
I recently made minor changes to it (adding <label> tags to the search and index forms and title attributes to the frames) but I felt like bad practice to touch it directly. There doesn't seem to be a built-in mechanism like the customization directory parameter used for DITA PDF customization.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Customizing the WebHelp Transform
Post by sorin_ristache »
No, there is no customization mechanism like a separate customization directory as for the PDF transformation. Extensive customizations like overriding the Table of Contents on the Webhelp home page require some XSLT modifications. However minor styling customizations and hiding of some elements can be done with a custom CSS set in the args.css parameter of the Webhelp transformation.
We will have a list of some frequent Webhelp customizations published soon on the website for sharing the experiences of other users who needed customizations. Also the User Manual will list some minor customizations.
Regards,
Sorin
We will have a list of some frequent Webhelp customizations published soon on the website for sharing the experiences of other users who needed customizations. Also the User Manual will list some minor customizations.
Regards,
Sorin
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