The following template variables can be used in any template - row, header and footer templates:
Common Variables
Variable |
Description |
{$JAMROOM_DIR} |
the full path to the jamroom directory |
{$JAMROOM_URL} |
the URL to the jamroom directory |
{$NEXT_PAGE} |
URL that links to the next page in Set |
{$NEXT_PAGE_URL} |
contains the href part only of the URL (for use in creating your own Next Page/Previous Page links) |
{$NEXT_PAGE_NUM} |
Number of the next page in Set |
{$PREV_PAGE} |
URL that links to the previous page in Set |
{$PREV_PAGE_URL} |
contains the href part only of the URL (for use in creating your own Next Page/Previous Page links) |
{$PREV_PAGE_NUM} |
Number of the previous page in Set |
{$THIS_PAGE} |
Number of current page in Set |
{$PAGEBREAK} |
Number of values shown on each page |
{$SELECTED_GENRE} |
This will contain the name of the Genre that was passed in if the “genre”URL variable was used (i.e. “&genre=blues”). NOTE: This variable will be EMPTY in all modes except song, spotlight, video1), and video_spotlight2) - or when more than 1 genre is passed in via the genre URL array (i.e. “&genre[]=Blues&genre[]=Country”). |
{$REPLACE_#} |
This is used for dynamic replacement text that can be passed in via the URL. Note that “#” means number - so in your templates you would use {$REPLACE_0}, {$REPLACE_1}, and so on. |
{$system_name} |
The name of the Jamroom System |
|