Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

10 Generating OmniHelp > 10.5 Customizing OmniHelp display features > 10.5.7 Modifying the OmniHelp template


10.5.7 Modifying the OmniHelp template

Your Mif2Go distribution directory contains a copy of file ohtpl.ini, which provides default text values and macros for variable presentation features. You do not need this file unless you plan to alter features for which no configuration settings are provided; see §10.1 Understanding how OmniHelp works.

You can copy ohtpl.ini to your project directory. If you are brave, you can specify a path to ohtpl.ini instead of placing it in the project directory; you can even give this template file a different name:

[OmniHelpOptions]

; ProjectTemplate = path to template for generating

;  OHProj and myproj_ohx.js files, with sections containing text

;  and macro references for variable items

ProjectTemplate=ohtpl.ini

You need ProjectTemplate only when settings are not sufficient; for example, if you undertake a drastic customization of OmniHelp, and add new variables. If you use the same template for all projects, it would be best to keep the template in:

%OMSYSHOME%\common\local\omnihelp\ohvm2g

Otherwise, keep the template in the project directory.

You can edit a copy of ohtpl.ini to experiment with various versions of this template; however, in general you should rarely need to use or modify ohtpl.ini.



10 Generating OmniHelp > 10.5 Customizing OmniHelp display features > 10.5.7 Modifying the OmniHelp template