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

Jamroom Advanced Charts Index Common Profile Variables

Jamroom Advanced Charts - Common Template Variables

The following Template variables can be used in any of the Jamroom Templates used in the Jamroom Advanced Charts - this includes the header_template, row_template and footer_template.

Variable Replacement Description
{$JAMROOM_DIR} the full path to the jamroom directory
{$JAMROOM_URL} the URL to the jamroom directory
{$NEXT_PAGE} URL that can be used in an anchor tag that will take you to the next page. Note that when you are on the last page of a set, this variable is empty.
{$PREV_PAGE} URL that can be used in an anchor tag that will take you to the previous page. Note that when you are on page 1 this variable will be empty
{$NEXT_PAGE_URL} contains the href part only of the URL (for use in creating your own Next Page/Previous Page links)
{$PREV_PAGE_URL} contains the href part only of the URL (for use in creating your own Next Page/Previous Page links)
{$THIS_PAGE_NUM} the number of the current chart page you are on
{$NEXT_PAGE_NUM} the number of the next page that would follow the current page you are on. For example, if you were currently viewing page “3”, then {$NEXT_PAGE_NUM} would be equal to “4”
{$PREV_PAGE_NUM} the number of the previous page that came before the current page you are on. For example, if you were currently viewing page “3”, then {$PREV_PAGE_NUM} would be equal to “2”. Note that if you are CURRENTLY on page 1, then {$PREV_PAGE_NUM} is equal to 1.
{$LEGEND} This special variable will create the “legend” (page jumper) for the charts. If the number of pages in the chart set is equal to 8 or less, then you will see an individual number for each page, with a corresponding link that takes you to that page. If the number of pages is greater than 8, then the “page jumper” is built, which is a drop down list containing all of the available pages. You can then pick the page you want to go to.
{$PLAYALL_HIFI_MP3_URL} URL to the play.php to play ALL HIFI MP3‘s on current showing chart.
{$PLAYALL_HIFI_WMA_URL} URL to the play.php to play ALL HIFI WMA’s on current showing chart.
{$PLAYALL_HIFI_OGG_URL} URL to the play.php to play ALL HIFI OGG’s on current showing chart.
{$PLAYALL_LOFI_MP3_URL} URL to the play.php to play ALL LOFI MP3‘s on current showing chart.
{$PLAYALL_LOFI_WMA_URL} URL to the play.php to play ALL LOFI WMA’s on current showing chart.
{$PLAYALL_LOFI_OGG_URL} URL to the play.php to play ALL LOFI OGG’s on current showing chart.

Jamroom Advanced Charts page 78 of 171 Common Profile Variables
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