{jr_blog}
{jr_blog} is used for embeddinga blog entry (or entries) into a Jamroom template.
|
Note: {jr_blog} is a deprecated function, and should no longer be used in Jamroom 3.1 and newer. The {jr_ranking} template function in "blog mode" can perform the same functions as the {jr_blog} template function, but with more options and better support. This page has been left here for reference purposes only. |
Parameters:
Name |
Type |
Required |
Default |
Description |
template |
string |
yes |
n/a |
the name of the Jamroom template that will be used to format the output. |
tpl_dir |
string |
no |
skin |
directory containing the Jamroom template - can be "skin" or "theme" |
theme |
string |
no |
n/a |
if a tpl_dir value of "theme" is given, then the name of the Artist Theme needs to be passed in with the theme parameter |
skin |
string |
no |
n/a |
The skin parameter tells the function to look in the skins/<skin_name> directory to find the template. If this is not supplied, the function will look in the Active Skin directory. |
band_id |
mixed |
no |
n/a |
If a single band_id (or array of band_ids) is is given, then only blog entries from the given ID's will be output. |
quota_id |
mixed |
no |
n/a |
If a single quota_id (or array of quota_id's) is given, then only blog entries from the given quota_id's will be included. |
message_id |
integer |
no |
n/a |
If a message_id is given, then only the matching blog entry will be output. |
order |
string |
no |
message_order |
by default, the blog entries are returned in their "order" as defined in the Arrange Messages interface. the optional "order" parameter can be given, which supports 2 additional orders:
message_time - return blog entries from newest to oldest
random - return blog entries randoml |
show |
integer |
no |
n/a |
limits the number of blog entries returned to the "show" amount. |
|