_rhc start file

For the second legacy start file, you need to call the _rhc start file, such as newproject_rhc.htm. This start file supports the following methods:

  • Map numbers.
  • Internal WebHelp id's.
  • Relative path to a file in the project.
  • Relative path to a file in the project folder but not in the project.

I added this legacy method for the sake of completion. I recommend using one of the other methods because they both provide context sensitivity using topic id's.

To trigger the context sensitivity, add # after the path of the start file:

http://localhost/newproject_rhc.htm#

After specifying the relative path you can specify the context sensitivity. You can use the following options:

OPTION EXPECTED VALUE EFFECT
context Map number Call using a map number.
HelpIdFromHTMLHelp_ Map number Call using a map number. If you use this option, add the map number directly after the string. Do not add an equals (=) sign.
topicnumber Internal id Call using an internal WebHelp id.
empty, add value after hash Internal id Call using an internal WebHelp id.
remoteurl Path to file A file in the project directory. This can be a topic from the project or another file. The path must be relative from the project root.
withnavpane Boolean Show or hide the navigation pane.

Note: The internal id is assigned only in the WebHelp output. This id is not available in the RoboHelp project.

Example:

http://localhost/newproject_rhc.htm#HelpIdFromHTMLHelp_3
http://localhost/newproject_rhc.htm#context=3

The toolbar and navigation pane are hidden by default. If you want to show the panes, add ,withnavpane=true to the URL:

http://localhost/newproject_rhc.htm#context=3,withnavpane=true

If you want the help to show in a popup, you have to add window options. You can use the options available in the JavaScript window.open method.

Note: The Firefox default popup blocker blocks the popup for local WebHelp.

http://localhost/newproject_rhc.htm#context=3,width=500,height=700
http://localhost/newproject_rhc.htm#context=3,withnavpane=true,width=500,height=700

This method for context sensitivity uses the following files:

  • _rch start file
  • cshdat_robohelp.htm