Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!

This document applies to Jamroom 2 only!
For current Jamroom 4 Documentation, visit the main Jamroom Documentation section.

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

1) if the Jamroom Power Pack is installed
2) if the Jamroom Power Pack is installed
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network