Jamroom Logo   Get Jamroom now for as low as !
The Powerful Social Media Platform
free download!
key features
key features
Newsletter
E-mail Address:

Spotlight
World Wide Beats
144002 "Jamroom is the all in one you'll every need for your music community. Some of the best features for musicians promotions, hands down! World Wide Beats is glad to be a part of this great incredible community."
{jr_comment} {jr_comment} Index {jr_counts} {jr_counts}
 

{jr_counter}


The {jr_counter} template function is used to embed a page counter into a template so the count will show up in the Artist "stats" section.  This function should be used outside of any Artist/Member theme templates, and is generally used when constructing custom ranking/search/chart output that is used on the artist/member profile page, but is not generated by the Jamroom Theme generator.

Parameters:

Name Type Required Default Description
type string no "page" The "type" parameter tells Jamroom the type of counter to create a count for.  The default is "page" which means that a count for a page will be created.
band_id integer yes n/a This is the band_id to record the hit for.
pagename string no The name of the template file the function is embedded within The "pagename" parameter tells Jamroom the "name" that the counts will be visibly associated with in the Artist's stats section.


Example:

Example using {jr_counter} recording a hit for a page called "Your Custom Page Name" for band_id 5:

{jr_counter band_id="5" pagename="Your Custom Page Name"}
{jr_comment} {jr_comment} page 135 of 184 {jr_counts} {jr_counts}
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
©2003 - 2008 Talldude Networks, LLC.