Page 1 of 1

How to customize "On this page" text?

Posted: Fri Dec 29, 2023 12:00 pm
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

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

Posted: Fri Dec 29, 2023 1:13 pm
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
Regards,
Marius

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

Posted: Tue Jan 02, 2024 4:38 pm
by tanja
Hi Marius,
Happy New Year :D

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

Best regards, Tanja