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.
Responsive Webhelp : Add footer with links to topics
-
- Posts: 84
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
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: 84
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Re: Responsive Webhelp : Add footer with links to topics
Okay, thanks anyway.
How did you add the links to the footer?
How did you add the links to the footer?
-
- Posts: 351
- Joined: Thu Aug 21, 2003 11:36 am
- Location: Craiova
- Contact:
Re: Responsive Webhelp : Add footer with links to topics
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