Change HTML template variables per build?

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
Christian Kessner
Posts: 30
Joined: Wed Nov 30, 2016 9:07 am

Change HTML template variables per build?

Unread post by Christian Kessner »

Is it possible to change a variable of an HTML template dynamically per build?
We are creating branded versions of our help and want to basically use the same template for all builds, just with a different SKIN-HEADER-COLOR
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Change HTML template variables per build?

Unread post by Tim Green »

If you're compiling directly from Help+Manual the easiest way to do this is to create a different copy of your skin for each version, which is quick and easy to do. If you want to use the same skin you need to use command line compiling and then use the /V= switch after the reference to the skin to call a text file containing your variable definitions. See this topic in the help for instructions:

https://www.helpandmanual.com/help/inde ... iables.htm
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply