Skip to main content
June 4, 2008
Question

Templates not applied properly?

  • June 4, 2008
  • 9 replies
  • 789 views
It seems that sometimes templates aren't applied properly.

Here's a link to a dummy project that will illustrate my point:

If you generate WebHelp for this dummy project, you'll see two topics. One is called 'Intro', the other 'Liabilities 1'.

You'll also see that in the 'Intro' topic, there's white space between bread crumb and 'Print topic' button at the top-right corner.
In the other topic 'Liabilities 1', there's NO white space between bread crumb and button.

Both files use the SAME template.

If you re-apply the template to the 'Liabilities 1' topic, It will show the same behavior as the other topic and you'll see white space.

Herman

This topic has been closed for replies.

9 replies

June 7, 2008
Thanks a lot for this workaraound Pet3689.

This surely helps, much quicker and easier than re-setting each topic separately

June 6, 2008
We discovered the following problem with RoboHelp 7 HTML:

Sometimes, when we update a template (that is, its header, footer, or background properties), this change does not propagate to all help topics that are associated with this template.

We found a workaround: In the Topic List, sort the template column. Then, select all topics that are associated with the template in question. Right-click, select Properties, and change the template to "None". Right-click, select Properties, and change the template back to what you want it to be.

This re-set of the templates updates all of the selected topics.

I hope that this helps you in any way.
June 5, 2008
Thank you *very* much for your generous offer Peter, but I don't think this will work.

The whole issue is that sometimes a template isn't applied properly (I don't even know how to recreate this specific situation :-) ).
If you were to recreate the files from scratch, this issue probably will not show.

In my real wordl project, I went through each and every topic and re-applied the template. Everything looks OK now.

Thanks again for all your help. It is very much appreciated.

Herman
Peter Grainge
Community Expert
Community Expert
June 5, 2008
There's no code like that in what I am looking at. No point in me adding it as the object of the exercise is to look at your code.

Save the two topics and the template as txt files and email those via my site.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
June 5, 2008
Strange Peter, I just downloaded the file from the link in the first post.

I can see the button in Design View.

It's in the template header, HTML code is
<input type=button value="Print topic" onClick="window.print()">
Peter Grainge
Community Expert
Community Expert
June 5, 2008
But that is not in the project you put up for download so I cannot see what is wrong with it.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Peter Grainge
Community Expert
Community Expert
June 5, 2008
What Print Topic button?

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
June 5, 2008
> What Print Topic button?

See this link for a screenshot from WebHelp.

Herman
June 5, 2008
Yes, both topics have the same CSS and styles on the first line.

Herman
Peter Grainge
Community Expert
Community Expert
June 4, 2008
Haven't downloaded but do both topics have the same CSS and styles on the first line?

Post back and I will look tomorrow.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.