Page 1 of 1

Print option on WebHelp Classic output gives 404 Error

Posted: Tue Jan 24, 2017 1:14 pm
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

Re: Print option on WebHelp Classic output gives 404 Error

Posted: Wed Jan 25, 2017 4:06 pm
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

Re: Print option on WebHelp Classic output gives 404 Error

Posted: Wed Jan 25, 2017 4:56 pm
by manju
Thank you for the solution.

Regards,
Manju

Re: Print option on WebHelp Classic output gives 404 Error

Posted: Wed Feb 08, 2017 3:45 pm
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

Re: Print option on WebHelp Classic output gives 404 Error

Posted: Wed Feb 08, 2017 6:15 pm
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

Re: Print option on WebHelp Classic output gives 404 Error

Posted: Thu Feb 09, 2017 9:47 am
by manju
Thanks for your help.