Common Template Variables
Software Settings
Software settings are always accessed through the $g_config template variable. The following values are available:
Video
Assuming the video is being accessed through a template variable named $video, the following values are available:
In addition to the default template variables, the custom database fields that you setup will also be accessible. For example, if you setup a database field named "storage" you will be able to access this value through $video.storage
Clip
Assuming the clip is being accessed through a template variable named $clip, the following values are available:
User
Assuming the user account is being accessed through a template variable named $user, the following values are available:
In addition to the default template variables, the custom database fields that you setup will also be accessible. For example, if you setup a database field named "storage" you will be able to access this value through $user.storage
Sponsor
Assuming the sponsor is being accessed through a template variable named $sponsor, the following values are available:
In addition to the default template variables, the custom database fields that you setup will also be accessible. For example, if you setup a database field named "storage" you will be able to access this value through $sponsor.storage
Comment
Assuming the comment is being accessed through a template variable named $comment, the following values are available:
Category
Assuming the category is being accessed through a template variable named $category, the following values are available:
In addition to the default template variables, the custom database fields that you setup will also be accessible. For example, if you setup a database field named "storage" you will be able to access this value through $category.storage
Rating
Assuming the rating is being accessed through a template variable named $rating, the following values are available:
Reason
Assuming the reason is being accessed through a template variable named $reason, the following values are available:
Search Term
Assuming the search term is being accessed through a template variable named $term, the following values are available:
Tag
Assuming the tag is being accessed through a template variable named $tag, the following values are available: