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

steinbacherGE
Posts: 9
Joined: Tue Mar 13, 2018 6:07 pm

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

Post by steinbacherGE » Fri Aug 09, 2019 5:23 pm

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

ionela
Posts: 281
Joined: Mon Dec 05, 2011 6:08 pm

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

Post by ionela » Mon Aug 12, 2019 11:52 am

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
Ionela Istodor
oXygen XML Editor and Author Support

mdslup
Posts: 116
Joined: Tue Mar 06, 2018 1:34 am

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

Post by mdslup » Tue Aug 13, 2019 3:40 am

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.

Post Reply