Template tags are placeholder text that get replaced during processing of content with information that is relevant to the ticket that is being referred to.
KB Support has a number of built-in template tags that can be used within ticket notifications that are sent during ticket creation, reply and closure as well as within the template pages that display content on the front end of your website.
Template tags are wrapped within curly brackets and should be inserted into the relevant positions within your content.
The default content tags available with KB Support are:
Template Tag | Content Provided |
---|---|
{name} |
The customers first name |
{fullname} |
The customer’s full name, first and last |
{username} |
The customer’s username on the site, if they registered an account |
{user_email} |
The customer’s email address |
{company} |
The name of the company to which the ticket is associated |
{company_contact} |
The contact name of the company |
{company_email} |
The email address of the company |
{company_phone} |
The phone number of the company |
{company_website} |
The website URL of the company |
{company_logo} |
Inserts the logo of the company |
{sitename} |
Your site name |
{date} |
The date of the ticket |
{time} |
The time of the ticket |
{ticket_id} |
The unique ID number for this ticket |
{ticket_title} |
Title of the ticket |
{ticket_content} |
Content of the ticket |
{ticket_status} |
Current status of the ticket |
{ticket_files} |
Inserts ticket files either as attachments or as clickable links. Determined by the Attach Files setting within theĀ Emails tab |
{department} |
Inserts the name of the department that is handling the ticket |
{reply_date} |
The date of the most recent ticket reply |
{reply_time} |
The time of the most recent ticket reply |
{reply_author} |
Inserts the name or email address of the author to the most recent reply. The email address is used if the author does not have an existing KBS Customer record. |
{reply_content} |
Content of the most recent reply |
{reply_files} |
Inserts the latest ticket reply files either as attachments or as clickable links. Determined by the Attach Files setting within theĀ Emails tab |
{ticket_url} |
Adds a URL so customers can view their ticket directly on your website |
{ticket_url_path} |
The same as {ticket_url} but instead of returning a linked URL, it returns the path so that you may add a link title |
{ticket_admin_url} |
Adds a URL so admins can access a ticket directly |
{ticket_admin_url_path} |
The same as {ticket_admin_url} but instead of returning a linked URL, it returns the path so that you may add a link title |
{close_ticket_url} |
Adds a link enabling customers to 1-click close tickets |
{close_ticket_url_path} |
The same as {close_ticket_url} but instead of returning a linked URL, it returns the path so that you may add a link title |
Was this article helpful?
We're working hard to ensure we provide you with useful and relevant documentation to help you get the most out of KB Support.
Please take a moment to let us know if you found this article helpful.