Premium Links Style - tmplsearch_prem.html
This template basically does the same thing that tmplsearch.html does, but it is only used for premium listings so that premium listings can have a different look or appearance.
Note that <html> and <body> must not be present in this template.
Sub Categories/Directories Style 1 - subdirs.html - Sub Directories/Categories Style 1
This template is used in conjunction with defdir.html - It is substituted by the %%subdirectories%% variable in defdir.html - In other words, %%subdirectories%% is replaced by the HTML code of subdirs.html in defdir.html
The HTML code of subdirs.html is used for displaying sub categories/directories of the current category/directory when browsing the directory.
Note that <html> and <body> must not be present in this template.
Sub Categories/Directories Style 2 - directories1.html - Sub Directory Link Style 2
This template is used in combination with subdirs.html - The function of this template is the actual style of each sub directory/category displayed. You can add a graphic next to each subdirectory in this template.
The variable %%substyle%% that is used in this template is replaced by actual category/directory names.
Let's say you want to add a graphic next to each category displayed. Then the contents of directories1.html would look something like this for example:
<img src="http://www.yourdomain.com/smpdirl.gif"> %%substyle%%
Note that <html> and <body> must not be present in this template.
Related Categories/Directories Style 1 - related1.html
This template is used to display related directories/categories for the existing directory/category. This template is used in combination with defdir.html
It is substituted by the %%related%% variable in defdir.html - In other words, %%related%% is replaced by the HTML code of related1.html in defdir.html
Related Categories/Directories Style 2 - related2.html
This template is used in combination with related1.html - The function of this template is the actual style of each related category/directory displayed.
Link Info - linkinfo.html - Extra link information template for standard links
This template is used to create an individual page for each standard link in your Directory. This means that each link can have it’s own page.
If the variable !!more_info_url!! is present inside tmplsearch.html or tmplsearch_prem.html then each link displayed in your directory will have a link to an extra page where more link information can also be displayed for example. You can for example display more extended information about the link on the extra page. The extended information could be contained in extra data fields.
Link Info Premium - linkinfop.html - Extra link information template for premium links
This template is used to create an individual page for each premium link in your Directory. This means that each premium link can have it’s own page.
If the variable !!more_info_url!! is present inside tmplsearch.html or tmplsearch_prem.html then each link displayed in your directory will have a link to an extra page where the link information can also be displayed. You can for example display more extended information about the link on the extra page. The extended information could be contained in extra fields/keys.
You can find out more about premium links here:
Chapter 10. Premium Links
General Template Guidelines
A lot of the templates work in combination with each other and others work independently where they are not combined with other templates.
The rest of the templates work in more or less the same manner as explained here. The moment you open (with your web editor) a template you should know or have a good idea where it is to be used.
Probably the easiest and best way to know exactly how the templates work is to experiment and play around with them. If something went wrong and your Directory doesn’t seem to be working anymore because of template problems, you can just go back to the default templates that were present when you first installed PowerSeek. You can go back to the original templates by clicking the ‘Restore Default’ button when editing templates from the ‘Template Manager’.
Also look carefully at the templates that was present when PowerSeek was first installed to get a good idea of how they work and what each variable word does. You can find these in the .zip installation file.
See the following for more detailed information on template customization:
Chapter 6. Customization (Look & Feel)