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

Profile Variables - Blog Templates Index Profile Variables - Photo Templates

Calendar Information Variables

Variable Replacement Description
{$EVENT_ID} The Jamroom Event ID number (i.e. 12)
{$EVENT_COUNT} The total number of Calendar entries for this artist
{$EVENT_NUMBER} This number corresponds to the number of the event that Jamroom is currently processing, starting with 1
{$EVENT_CREATED} Date the event was added formatted to $config[date1]
{$EVENT_DATE} Date if event in YYYYMMDD format
{$EVENT_YEAR} Year of event in YYYY format
{$EVENT_MONTH} Month of event in MM format
{$EVENT_DAY} Day of event in DD format
{$EVENT_HOUR12} Hour of the event in 12 hour format (i.e. for 3pm it would be 3 instead of 15)
{$EVENT_HOUR24} Hour of the event in 24 hour format (i.e. for 3pm it would be 15)
{$EVENT_AMPM} Commonly used with the {EVENT_HOUR12} variable, this will be “am” if the hour is 0-11, “pm” if 12-23
{$EVENT_WDAY_SHORT} Day of event in abbreviated format (i.e. “Wed”)
{$EVENT_WDAY_LONG} Day of event in long format (i.e. “Wednesday”)
{$EVENT_EPOCH_TIME} This is the time of the event represented as Epoch Time (the number of seconds elapsed since Jan 01, 1970).
{$EVENT_TITLE} The title of the Event (brief description)
{$EVENT_DESCRIPTION} The description of the Event
{$EVENT_LOCATION} The location of the event.
{$EVENT_DESC_WORDS} The number of words in the Event description
{$EVENT_IMAGE} link to show this Calendar Entry’s image via image.php, i.e: image.php?band_id=1&event_id=1&mode=calendar_image
{$EVENT_IMAGE_GD} link for getting Calendar Entry image, and having it resized via Jamroom’s built-in GD functions 1), i.e: image.php?band_id=1&event_id=1&mode=calendar_image&width=xxx&height=xxx
{$EVENT_IMAGE_NAME} the name of the image file (i.e. image_name1.jpg)
{$EVENT_IMAGE_TYPE} the image mime type (i.e. image/jpeg)
{$EVENT_IMAGE_SIZE} size in bytes of the image
{$EVENT_IMAGE_EXTENSION} the image extension (i.e. jpg)

Calendar Output File Name Variables

Variable Replacement Description
{$EVENT_ID} The Jamroom Event ID number (i.e. 12)
{$EVENT_YEAR} Year of event in YYYY format
{$EVENT_MONTH} Month of event in MM format
{$EVENT_DAY} Day of event in DD format
{$EVENT_WDAY_SHORT} Day of event in abbreviated format (i.e. “Wed”)
{$EVENT_WDAY_LONG} Day of event in long format (i.e. “Wednesday”)

1) Note that the image will be cached allowing for it to display much faster on subsequent requests for the same image in the same size

Profile Variables - Blog Templates page 157 of 171 Profile Variables - Photo Templates
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