Adding links to Topics in Ditamap from Footer

Post here questions and problems related to editing and publishing DITA content.
dgallo
Posts: 90
Joined: Tue Mar 31, 2015 10:43 pm

Adding links to Topics in Ditamap from Footer

Post by dgallo »

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: 268
Joined: Thu Dec 24, 2009 11:21 am

Re: Adding links to Topics in Ditamap from Footer

Post by alin »

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