Step 2. Creating a new template specification (*.ini) file (cont'd)
Look at the \templates\template1.ini example, which has been reproduced here:
Note: the comments (lines beginning with #) have been left out.[Template]
Version=3
Directory=template1\
Description=Ver 3.0 template -- This is a test sample demo template -- for testing with template commands
[Preview]
TotalImages=3
Image1=preview1.gif
Image2=preview2.gif
Image3=preview3.gif
[Index]
Source=index.html
Output=index.html
[Cart]
Source=cart.html
Output=cart.html
[Intro]
Source=frame1.html
Output=intro.html
[Search]
Source=search.html
Output=search.html
[Info]
Source=info.html
Output=info.html
[Category]
Source=category.html
# use it for version 2.0 of template only
DisplayType=0
[Item]
Source=item.html
DisplayType=1
MaxItems=10
AllItemsOutput=allitems.html
[AdditionalPage]
TotalPage=1
Page1=SpecialItem.html
[JavaScript]
StoreCreator=StoreCreator.cpp
Search=Search.cpp