Print option on WebHelp Classic output gives 404 Error

Post here questions and problems related to editing and publishing DITA content.
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

Print option on WebHelp Classic output gives 404 Error

Post by manju »

Hi,

We are using Oxygen XML Author 18.1 to generate WebHelp Classic output.
Frameless version(using index.html) of this output contains an additional print option on search result page.

When we click on this print icon 404 error is displayed as It navigates to incomplete url
as below:

HTTP Status 404 - .../help/webhelp-classic/Concepts/javascriptwindow.print();

The print option at the top-right corner of the page works properly and print window with correct url opens up.
Please see correct url below :

.../help/webhelp-classic/index.html#Concepts/co_role_controlled_access_navigation_map.html

Can you please check this issue and provide solution for it?

Also there is "Link to this page" icon present before print icon on search result page. When we click on it same help content is displayed in a new window.
Can you please provide purpose of this feature and how to use it?

Thanks & Regards,
Manju
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Print option on WebHelp Classic output gives 404 Error

Post by bogdan_cercelaru »

Hello,

Thank you for reporting this.
I've been able to reproduce this issue and to fix it.
You should replace the "${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/oxygen-webhelp/resources/js/toc.js" file with the file from the following archive http://www.oxygenxml.com/forum/files/14 ... 070141.zip

This fix will be also included in the next version of Oxygen.

Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

Re: Print option on WebHelp Classic output gives 404 Error

Post by manju »

Thank you for the solution.

Regards,
Manju
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

Re: Print option on WebHelp Classic output gives 404 Error

Post by manju »

Hi,

In the previous fixes "Link to this page" option was removed from search result page of Webhelp Classic view (frameless version). But That option is also present when we click on "With Frames" icon present on frameless version of Classic view.

Can you also remove it from there as well and provide us the updated file.

Thanks & Regards,
Manju
bogdan_cercelaru
Posts: 222
Joined: Tue Jul 01, 2014 11:48 am

Re: Print option on WebHelp Classic output gives 404 Error

Post by bogdan_cercelaru »

Hello,

This is not an issue. This is the way to obtain a direct link to the topic that is currently displayed.
To hide this link you should use a custom CSS file with the following content

Code: Select all

#permalink a{
display: none;
}
and then you have to set the "args.css" parameter to point to the custom CSS file and the "args.copycss" parameter to "yes".


Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
manju
Posts: 9
Joined: Tue Dec 20, 2016 11:42 am

Re: Print option on WebHelp Classic output gives 404 Error

Post by manju »

Thanks for your help.
Post Reply