Step 3. Creating the template html files

These html files are similar to the usual html files. You can insert our StoreCreator template commands in these html files. Some of these are not complete html files but they can be inserted into another html to form a complete html file.

Look at the following example taken from a section of the category.html in the \..\template1 folder

<td width=100%>
<font size=4 color=#ff0000>
<Strong>
#PrintCatalogName
</strong>
</font>
</td>

The ‘#PrintCatalogName’ command will insert the necessary html tags (or JavaScript files) to display the category name.

Here is another section of the same category.html:

<hr size =1 width=80%>
#DisplayCurCatalogGroup CatalogTable.html
<br>
<hr size =1 width=80%>

The ‘#DisplayCurCatalogGroup CatalogTable.html’ command will insert the html file CatalogTable.html here. CatalogTable.html is only a partial html file to define how the categories are to be displayed. The ‘#DisplayCurCatalogGroup’ will keep repeating the category display till the last category is displayed. You may like to study the CatalogTable.html to see how this works. A detailed example is also provided in the following template command list.

Note: All template commands must begin with a ‘#’ and must be on a new line by themselves.

Example from the same category.html:

<img src='
#PrintCatalogImage
'></td><td align=top>

Note the ‘#PrintCatalogImage’, which is the category image file, begins with ‘#’ and is on a new line by itself. The opening and closing tags, including the quotes (‘), are also on a separate line.

<Step 2b> <Template introduction> <Next - Step 4>