<test> statement can either be a parser variable only (if it is located the test returns true), or it can be a comparison of a parser variable and a constant, for example %IF:authenticated="true"%.
Looping:
%ROWSTART% and %ROWEND% tags have to be placed at the beginning of a line with no spaces or tabs before it.
Two important global parser variables are %GfxPath% which gives the base path to the graphic directory. Example:
%Program% will return the link for the customer module. If you for example would call the routine to register a customer, you would write:
%PARSER_TREE% at the bottom of a template file. This will print out all the variables to your browser when access through the customer module. This is especially useful when you want to explicitly call an extra field. If you for example make an extra field in the request table, you have to manually code the template to show these in the customer pages.
You can also create your own custom templates, which for example can make a request based on information from the webpage. The following described how to make such templates.
How can I create category drop-downs on the customer pages?
Customer Center is default shipped with templates that lists the categories in a single drop-down. If you want these to show the categories in a hierarchy, you have to make some small changes to the templates. In framework.html you have to add the following between the<head> tags:
%IF:category.head% %category.head% %ENDIF%
To use the category drop-down, you enter the following into the right templates:
%IF:category.body% %category.body% %ENDIF%