How to add content to the webhelp responsive header.
Post here questions and problems related to editing and publishing DITA content.
How to add content to the webhelp responsive header.
Hi,
I created an xml fragment to add a button to the header in webhelp responsive output that when clicked goes to a URL. The button is an image. The fragment works well on all pages when I add it to the webhelp.fragment.after.logo_and_title. My issue is that I would like to add the button to the right of the index component on the header and I can't find a way to do this. There are many oob parameters to add content from fragments, but none that I can see for "after_index".
How can I do this?
Thanks - Adam
XML Editor 24.1, build 2022062007
Custom Dita Map HTML 5 transformation
I created an xml fragment to add a button to the header in webhelp responsive output that when clicked goes to a URL. The button is an image. The fragment works well on all pages when I add it to the webhelp.fragment.after.logo_and_title. My issue is that I would like to add the button to the right of the index component on the header and I can't find a way to do this. There are many oob parameters to add content from fragments, but none that I can see for "after_index".
How can I do this?
Thanks - Adam
XML Editor 24.1, build 2022062007
Custom Dita Map HTML 5 transformation
Adam Myers
Technical Publications Manager
MATRIXX Software
Technical Publications Manager
MATRIXX Software
-
- Posts: 907
- Joined: Thu May 02, 2019 2:32 pm
Re: How to add content to the webhelp responsive header.
Post by chrispitude »
Hi Adam,
In this forum post:
Responsive SVG backgrounds, SVG buttons, search/index in header
I shared a publishing template that performs a somewhat similar task of moving some things around. Maybe it might give you some ideas on how to do this.
If you are not sure how to use XSLT, let me know and I can probably put together a simple example for you.
(Also, note that Syncro Soft created a new dedicated WebHelp section in the forums for all things WebHelp-specific!)
In this forum post:
Responsive SVG backgrounds, SVG buttons, search/index in header
I shared a publishing template that performs a somewhat similar task of moving some things around. Maybe it might give you some ideas on how to do this.
If you are not sure how to use XSLT, let me know and I can probably put together a simple example for you.
(Also, note that Syncro Soft created a new dedicated WebHelp section in the forums for all things WebHelp-specific!)
-
- Posts: 403
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: How to add content to the webhelp responsive header.
Post by radu_pisoi »
Hi,
I think you can try webhelp.fragment.after.top_menu HTML fragment placeholder. See our documentation for all available HTML fragment placeholders and their placement.
I think you can try webhelp.fragment.after.top_menu HTML fragment placeholder. See our documentation for all available HTML fragment placeholders and their placement.
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
Re: How to add content to the webhelp responsive header.
Thanks Radu and Chrispitude. Both replies very helpful. For now, I am using the parameter Radu suggested and it works.
Adam
Adam
Adam Myers
Technical Publications Manager
MATRIXX Software
Technical Publications Manager
MATRIXX Software
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