Customize HTML page layout files
Posted: Wed Mar 04, 2020 6:26 am
Hi,
I was using Oxygen 20.0, and I customized the HTML page layout files, such as the index page layout and the topic page layout.
I added my customized js, and div codes in the page layout files to achieve the followings:
Adding a PDF download button on each topic page.
Adding topic information such as author and update date in each topic page.
....
All worked well if I published the webhelp using Oxygen 20.0.
These days, I updated the Oxygen to 22.0, I even tested on Oxygen 21, the new Oxygen could not read my customized page layout files.
After publishing webhelp, no index.html, search.html, terms.html are found in the webhelp output folder.
I also noticed a Warning is added in your user manual:
"Warning: It is no longer recommended for you to customize these files because if you upgrade to a newer version of Oxygen, those files may no longer produce the desired results and if new components have been added, you won't have access to them."
How to solve this problem, or should I stay in the old version Oxygen 20.0?
I was using Oxygen 20.0, and I customized the HTML page layout files, such as the index page layout and the topic page layout.
I added my customized js, and div codes in the page layout files to achieve the followings:
Adding a PDF download button on each topic page.
Adding topic information such as author and update date in each topic page.
....
All worked well if I published the webhelp using Oxygen 20.0.
These days, I updated the Oxygen to 22.0, I even tested on Oxygen 21, the new Oxygen could not read my customized page layout files.
After publishing webhelp, no index.html, search.html, terms.html are found in the webhelp output folder.
I also noticed a Warning is added in your user manual:
"Warning: It is no longer recommended for you to customize these files because if you upgrade to a newer version of Oxygen, those files may no longer produce the desired results and if new components have been added, you won't have access to them."
How to solve this problem, or should I stay in the old version Oxygen 20.0?