Responsive Webhelp : Add footer with links to topics
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Responsive Webhelp : Add footer with links to topics
Post by urbanrobots »
Hi,
We have frontmatter and glossary content in the ditamap that we'd like to include in the footer of the responsive webhelp. We can easily hide this content from the wh-tiles. However, it's trickier to then add these two hidden sections as links in the footer.
You do this on this page:
https://www.oxygenxml.com/doc/versions/ ... webauthor/
The footer has links to Glossary and Copyright.
How did you do this? We'll need these to be dynamic based on that ditamap.
We have frontmatter and glossary content in the ditamap that we'd like to include in the footer of the responsive webhelp. We can easily hide this content from the wh-tiles. However, it's trickier to then add these two hidden sections as links in the footer.
You do this on this page:
https://www.oxygenxml.com/doc/versions/ ... webauthor/
The footer has links to Glossary and Copyright.
How did you do this? We'll need these to be dynamic based on that ditamap.
-
- Posts: 407
- Joined: Mon Dec 05, 2011 6:08 pm
Re: Responsive Webhelp : Add footer with links to topics
Hello,
To achieve this in our documentation we've used the solution you've indicated, we've hide the content from the wh-tiles and then we've added links in the footer (but the links are not dynamic).
Unfortunately, we do not have a solution to obtain this result dynamically based on the ditamap.
Regards,
Ionela
To achieve this in our documentation we've used the solution you've indicated, we've hide the content from the wh-tiles and then we've added links in the footer (but the links are not dynamic).
Unfortunately, we do not have a solution to obtain this result dynamically based on the ditamap.
Regards,
Ionela
Ionela Istodor
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Re: Responsive Webhelp : Add footer with links to topics
Post by urbanrobots »
Okay, thanks anyway.
How did you add the links to the footer?
How did you add the links to the footer?
-
- Posts: 404
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Responsive Webhelp : Add footer with links to topics
Post by radu_pisoi »
Hi,
For creating the footer in our documentation we use a custom PHP file.
To generate a custom WebHelp Responsive footer, you can use the webhelp.fragment.footer parameter. This parameter specifies the path to an XHTML file that will replace the default WebHelp footer.
In the custom footer fragment, you can use the ${path(oxygen-webhelp-template-dir)} macro that allows you to generate links to the resources from the output folder. For instance, to generate a link to the Copyright topic the XML fragment may be:
You can read more about WebHelp Responsive macros in our documentation:
https://www.oxygenxml.com/doc/versions/ ... aid-title5
For creating the footer in our documentation we use a custom PHP file.
To generate a custom WebHelp Responsive footer, you can use the webhelp.fragment.footer parameter. This parameter specifies the path to an XHTML file that will replace the default WebHelp footer.
In the custom footer fragment, you can use the ${path(oxygen-webhelp-template-dir)} macro that allows you to generate links to the resources from the output folder. For instance, to generate a link to the Copyright topic the XML fragment may be:
Code: Select all
<div class="footer">
<a href="${path(oxygen-webhelp-output-dir)}/topics/copyright.html">Copyright</a>
</div>
https://www.oxygenxml.com/doc/versions/ ... aid-title5
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