Page 1 of 1

webhelp.favicon ignored by Webhelp Responsive

Posted: Tue Jul 19, 2016 7:41 pm
by DaveC
In oXygen 18, the webhelp.favicon parameter works for normal Webhelp, but appears to be ignored by the Responsive Webhelp.

Webhelp includes these two lines in the <head> of the index.html, but are not included in the Responsive Webhelp.
<link rel="shortcut icon" href="favicon.png"><!----></link>
<link rel="icon" href="favicon.png"><!----></link>

I am not sure if there is something that has to be done differently if you are using a template?

Re: webhelp.favicon ignored by Webhelp Responsive

Posted: Wed Jul 20, 2016 5:09 pm
by bogdan_cercelaru

Thank you for reporting this.
I have registered this issue in our internal issue tracking system to be addressed.
In the meanwhile, you could edit the template files and add these lines in the <head> section:

Code: Select all

<link rel="shortcut icon" href="/favicon.png"><!----></link>
<link rel="icon" href="/favicon.png"><!----></link>
The template files that should be edited are:
- ${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_index.html
- ${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_search.html
- ${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_terms.html
- ${DITA_OT_DIR}/plugins/com.oxygenxml.webhelp/templates/dita/bootstrap/wt_topic.html

Please note that the favicon.png file should be in the root directory of your Web server.