How to customize "On this page" text?

Post here questions and problems related to editing and publishing DITA content.
tanja
Posts: 39
Joined: Tue Oct 30, 2018 10:49 am

How to customize "On this page" text?

Post by tanja »

Dear Support,

I am using Oxygen XML Editor Version 26.0 with a DITA Map WebHelp Responsive Publishing.

In my published WebHelp, the local table of contents on the right side has the title "On this page”.
How can I customize the “On this page” text?
I checked the settings of the "Topic Table of Contents (On this page links)" in the help topic https://www.oxygenxml.com/doc/versions/ ... components and also had a look
at the CSS settings and the DITA-OT localizations, but did not find a solution.

Thanks and best regards,
Tanja
marius
Posts: 39
Joined: Thu Mar 05, 2009 11:44 am

Re: How to customize "On this page" text?

Post by marius »

Hi Tanja,

There is a procedure described here to modify the existing strings in the WebHelp Responsive output.
The string you need to modify is:

Code: Select all

<str name="on_this_page" js="true" php="false">On this page</str>
So by following the procedure and modifying the above to:

Code: Select all

<str name="on_this_page" js="true" php="false">My custom name for the - On this page - label</str>
I get in the WebHelp output:
image.png
image.png (12.82 KiB) Viewed 515 times
Regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
tanja
Posts: 39
Joined: Tue Oct 30, 2018 10:49 am

Re: How to customize "On this page" text?

Post by tanja »

Hi Marius,
Happy New Year :D

Thanks for the detailed instructions. They worked like a charm!

Best regards, Tanja
Post Reply