• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Template misbehaving in RH 8

Participant ,
Apr 05, 2010 Apr 05, 2010

Copy link to clipboard

Copied

Hi all,

We recently upgraded to RoboHelp 8 and updated to 8.0.2.208 and are experiencing serious problems with the templates in one of our three projects (the other two projects seem to be fine).

Existing topics look fine until you either preview them or generate the help system (WebHelp). Then the contents of the template on which the topic is based are inserted at the top of the topic.

New topics based on the template don't look right at all. The CSS is applied, except for the header style, but the topic is blank with no placeholder text inserted from the template. Again, if you preview the topic or generate the help system, the placeholder contents from the template are inserted at the top of the new topic, above anything you've typed.

In the Output View, I get this message:

Applying WebHelp 5.50 Template...
........................Template Error: can not resolve macro: WH_LNG_FtsMaxResult
...........................................................................
Finished applying Template in 3 sec(s)

Does anyone know what this means and how to fix it?

The only other fix I can think of would be to just delete our templates and not use them, but they are rather handy....

Thank you advance for any help....

Lisa

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 05, 2010 Apr 05, 2010

Copy link to clipboard

Copied

I just searched on WH_LNG_FtsMaxResult and got three hits.

One included this link. http://kb2.adobe.com/cps/507/cpsid_50701.html Try that first.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 05, 2010 Apr 05, 2010

Copy link to clipboard

Copied

Hi Peter,

Thank you for your response. Before you answered, I did this:

  1. File | Project Settings
  2. Advanced button
  3. LNG File tab
  4. Made no changes, just clicked OK.

The !language!.fpj file appeared in my File Status tab, and it wasn't there before. (I could find no mention of an LNG file anywhere in my project files.) This did not fix the problem with the template content being inserted above the topic text, but it did make the WH_LNG_FtsMaxResult error go away.

I think these were two different problems, because I ended up trying the two solutions in the first solution you listed, to no avail. Copying the LNG file did nothing and changing the language for the project settings did nothing. I'm still having a problem with the template content being inserted. I looked in your website and could find no mention of either the error or the problem. I was unable to load your twitter page for which you sent links.

Again, I think these were two separate problems. The WH_LNG problem seems fixed now, but the template is still being inserted above my topic text.

Any other ideas?

Thanks,

Lisa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 05, 2010 Apr 05, 2010

Copy link to clipboard

Copied

Maybe someone else has seen the template problem or has some ideas. Let's wait until tomorrow when more people will be around.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 06, 2010 Apr 06, 2010

Copy link to clipboard

Copied

Have you tried, creating a new template and applying that to your topics. We had similar problems with a RHX5 template that was upgraded to a RH8 master page. It had a table in the footer ith images in cells which proved to be the problem. This may not be the case for you but recreating may unclog the problem. Worth a try.


  • Read the RoboColum(n) for a tips, tricks and musings on the Technical Communication Suite products.
  • Follow the RoboColum(n) on Twitter

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Apr 06, 2010 Apr 06, 2010

Copy link to clipboard

Copied

Colum and Peter, thank you both for your responses.

Colum, I believe you are correct about templates with tables. We have one of our three templates that contains a table. I'm not sure why all of the templates were affected and not just that one; maybe the presence of a table in one befuddled it for all.

At any rate, for posterity here in case anyone else encounters this: This entire master page thing is new to me, but it seems that, in RH 8, template content should be contained in a "body placeholder." Our problem was that RH 8 didn't put put the content into a body placeholder during the conversion. As a result, the template content did not appear in new topics, and in existing topics, it was inserted above the topic content when you previewed or generated help. (According to RH's help system, this is working as designed, although I find it clumsy and confusing.)

To fix this problem, I went into each template and inserted a body placeholder (in a new paragraph, right-click and select Insert Placeholder | Body), and then copied and pasted all of my template content inside the placeholder box.

All seems to be working correctly now. Many thanks again!

Lisa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 21, 2010 Jun 21, 2010

Copy link to clipboard

Copied

Hey Lisa, Thanks for taking the time to document your fix. I couldn't figure out why the boillerplate text from my master pages was appearing on every page in the generated help. Your instructions worked like a charm, fixed the problem in no time! (Interestingly, this only occurred on one of my imported projects, even though they were derived from the same RH7 help system. Go figure...)

kathy

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 22, 2010 Jun 22, 2010

Copy link to clipboard

Copied

Kathy,

You're welcome! I'm very happy it worked out for you and that you found my instructions helpful.

Best regards,

Lisa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 28, 2011 Mar 28, 2011

Copy link to clipboard

Copied

LATEST

I was getting the same error and following the steps in this post got rid of the error.   Strange to me, but easy.  Glad I found this posting.

Joe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp