Adding links to Topics in Ditamap from Footer

dgallo
Posts: 89
Joined: Tue Mar 31, 2015 10:43 pm

Adding links to Topics in Ditamap from Footer

Post by dgallo » Thu Jan 12, 2017 12:15 am

Hello,

When I add links to topics in a ditamap from the footer, the links only work from the homepage and then break when you go deeper. How do I add proper links to topics in a ditamap from the footer?

alin
Site Admin
Posts: 139
Joined: Thu Dec 24, 2009 11:21 am

Re: Adding links to Topics in Ditamap from Footer

Post by alin » Thu Jan 12, 2017 4:36 pm

Hello,

You should specify the links relative to the output directory. In order for the links to be relative to the output directory no matter what the HTML page they are inserted in, you should use the ${oxygen-webhelp-output-dir} macro. For example:

Code: Select all

${oxygen-webhelp-output-dir}/legal/copyright.html
You can read more about this procedure in our User Manual (step 1b): https://www.oxygenxml.com/doc/versions/ ... -html.html


Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply