Common parser variables
The following parser variables are common for all the templates:addMessage.html
This is the template used when adding a message to an existing request. The following parser variables are available:- Ticket
- Company
- Customer
changeCust.html
This is the template used when a customer changes their information. The following parser variables are available:- Company
- Customer
doneRegister.html
This is the template used to display a welcome message when a new customer has registered. The following parser variables are available:- Company
- Customer
framework.html
This is a special template. The framework.html is the framework that will surround all the other templates. In this way, you do not need to style all the other templates. You can use the same parser variables in this file as with the other files. It is the chosen action that determines what is available here, so only use parser variables that you are certain will exist. Pay attention to the parser command%INCLUDE_VAR:contentFile%. As explained earlier, each chosen action will result in a parser variable called contentFile. This parser variable will contain the name of the template matching the action. The command INCLUDE_VAR will simply insert this file into the framework.html file.
listSimilarKbEntries.html
This template is used to list similar FAQ entries when using the wiki functionality of the FAQ. The FAQ entry hits are placed in the following parser variables. This is an array, so you must use%ROWSTART% and %ROWEND% to loop over them.
In addition, the following parser variables are available:
listTicket.html
This template is used to display one single request.- Message, but not that this will be an array, so you need to use
%ROWSTART%and%ROWEND%to loop over them. - Message where is the number of the message starting from 0. This makes each message accessible as a single parser object.
- Company
- Customer
- Ticket
listTickets.html
This template is used to list all the requests that the customer has access to.- Ticket
welcome.html
This template The welcome message that is displayed when a customer logs in. The following parser variables are available:- Company
- Customer
loggedOut.html
This template The message that is displayed when a customer logs out. The following parser variables are available:- Company
- Customer
login.html
This template The login screen. The following parser variables are available: “username” The value entered in the username field.newTicket.html
This template The new request screen. The following parser variables are available:- Company
- Customer
noAccess.html
This template is displayed if trying to access a screen that the customer does not have access to (for example trying to view a request that he/she does not own). The following parser variables are available:- Company
- Customer
passwordSent.html
This template is displayed after submitting the email address in the “forgotten password” screen. No other than the standard variables are available.registerCust.html
This template is displayed when a customer is trying to register. The following parser variables are available:sendPassword.html
This template is displayed when the customer has clicked the Forgotten password button. No other than the standard variables are available.ticketPosted.html
This template is displayed when a customer has posted a new request. The following parser variables are available:- Company (if authenticated)
- Customer (if authenticated)
viewKbCategory.html
This template is displayed when viewing a FAQ category. The following parser variables are available:- Company (if authenticated)
- Customer (if authenticated)
viewKkEntry.html
This template is displayed when viewing a FAQ entry. The following parser variables are available:- Company (if authenticated)
- Customer (if authenticated)