 |
SoftTree Technologies
Technical Support Forums
|
|
Author |
Message |
wmweaver2
Joined: 29 Oct 2007 Posts: 111 Country: United States |
|
Add template to master |
|
I am running Java multi platform. I followed the instructions and copid a .ini template into the templates folder and it doesnt show up on the masters list of templates. It says something about modifying the TEMPLATE.ini file but i cannot find that file in any of the sevreal installs i have done. I am confused how i download the templates and get them to show up on the master.
|
|
Fri Mar 14, 2008 2:07 pm |
|
 |
SysOp
Site Admin
Joined: 26 Nov 2006 Posts: 7949
|
|
|
|
Preface: Because the board doesn't support HTML and XML tags, I will be using { instead of "less" symbol and } instead of "greater" symbol
All template files should be copied to the [24x7 home]/Templates subdirectory. You can reference them in the preferences.xml file which can be found in [24x7 home]. Look for text like below
 |
 |
{object id="7" type="12"}
{property name="name" type="3" value="Test group"/}
{object id="8" type="13"}
{property name="name" type="3" value="Test template"/}
{property name="path" type="3" value="Template/test_template.ini"/}
{/object}
{/object} |
Add additional entries like below, but please ensure that object id is unique. For every new entry you add, in the very beginning of the preferences file increment number in {root id="13"} by one. Basically, that number must match the id of the last added entry.
 |
 |
{object id="8" type="13"}
{property name="name" type="3" value="Test template"/}
{property name="path" type="3" value="Template/test_template.ini"/}
{/object} |
It is also a good idea to make a backup of preferences.xml before changing it :)
|
|
Fri Mar 14, 2008 3:46 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|