Change HTML template variables per build?

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

Moderators: Alexander Halser, Tim Green

Change HTML template variables per build?

Unread postby Christian Kessner » Wed May 09, 2018 10:40 am

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
Christian Kessner
 
Posts: 21
Joined: Wed Nov 30, 2016 9:07 am

Re: Change HTML template variables per build?

Unread postby Tim Green » Wed May 09, 2018 10:53 am

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.
User avatar
Tim Green
Site Admin
 
Posts: 19936
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 4 guests

cron