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

Code Changes

Explorer ,
Aug 07, 2006 Aug 07, 2006

Copy link to clipboard

Copied

I've tried several of the coding changes referred to in this forum. Most instructions say to make the changes in the topic's .html file. Well, I did that and, when I didn't compile Robohelp, it worked. But if I compile the SSLs, the code reverts back to the previous code and my changes are gone....what am I doing wrong? In Captivate, there is a file called "standard.htm" that can be modified once and, when the movies are re-published, this file replaces the old. Is there such a file in Robohelp?

Thanks
Pam

Views

411

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

correct answers 1 Correct answer

Explorer , Aug 10, 2006 Aug 10, 2006
Leon and Roger,

Thanks for the info! It was just what I needed!

Pam

Votes

Translate

Translate
Enthusiast ,
Aug 08, 2006 Aug 08, 2006

Copy link to clipboard

Copied

Pam,

You can insert a Javascript using the Insert/Advanced menu, and RH will preserve it.

However, I make my code modifications in the output files, after generating WebHelp.

There are some RH templates that you can alter, if you want the change to carry over permanently, in every project. For project-specific or topic-specific code, go to the output file.

Templates are in the WebHelp5Ext folder, in RoboHTML and in a folder with the same name in RoboHELP, in the RoboHelp Office directory (under C:Program Files, unless you've installed it elsewhere.)

Needless to say, changing RH code templates can be dicey.

Harvey

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 ,
Aug 09, 2006 Aug 09, 2006

Copy link to clipboard

Copied

Pam -

I'm with Harvey on this - rather than fiddle with the templates, I do my changes after generating. And I do a lot of customization.

So, I use ReplaceEm, which will search and replace multiple lines in multiple files.

And, you can save your search 'n replace processes to a script, and re-run them with two clicks. Just like a project .xpj or .hpj file, I usually have a .bkr (ReplaceEm) file for each project as well .

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
Advisor ,
Aug 10, 2006 Aug 10, 2006

Copy link to clipboard

Copied

I keep modified files that have been adapted for various reasons (and which might otherwise be over-written at each generation) in a separate folder. I then copy these files (whfbody.htm, whibody.htm, whnjs.htm, whskin_frmset01.htm, whtdhtml.htm, and whthost.js) to the generated output folder to maintain the changes I want.

Another thing to keep in mind: some code changes might only "stick" if you Save the file before you exit TrueCode. That is, before you click anywhere else (TOC tab, Topics tab, etc.).


Good luck,
Leon

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
Explorer ,
Aug 10, 2006 Aug 10, 2006

Copy link to clipboard

Copied

LATEST
Leon and Roger,

Thanks for the info! It was just what I needed!

Pam

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