Page 1 of 1

Webhelp Responsive publishing template that includes first topic in main page?

Posted: Fri Aug 09, 2019 5:23 pm
by steinbacherGE
Hi There,

Is there a way to create a Webhelp Responsive template that shows the first topic on the main page (index.html) like Webhelp Classic?

Thanks,

Leroy

Re: Webhelp Responsive publishing template that includes first topic in main page?

Posted: Mon Aug 12, 2019 11:52 am
by ionela
Hi,

Unfortunately, in the current implementation of WebHelp Responsive this is not possible.
However, we already have an improvement logged in our internal tracking system, to offer the possibility to make the WebHelp Responsive output and layout look like the WebHelp Classic.
I have added your feedback and vote to it.

Regards,
Ionela

Re: Webhelp Responsive publishing template that includes first topic in main page?

Posted: Tue Aug 13, 2019 3:40 am
by mdslup
steinbacherGE,

I've been wanting to do this for a while and came up with a workaround.

1. Create a file called "Welcome.dita". Make it the first child topic in the map.
2. Use the webhelp.fragment.welcome to point to an HTML file (this parameter puts this HTML code into the head of the index.html file, but none of the other files). This HTML file points to a javascript file that contains a redirect to "welcome.html".
3. Run the transformation.

This creates the HTML files, with both a "index.html" and "welcome.html" file. Your users end up on index.html - which is the tile/tree layout or whatever, but they never see it because they are instantly redirected to "welcome.html", which you have faked to look like a welcome/landing page.

Let me know if you have any questiosn.