Jamroom Logo   Try the Demo! Jamroom Demo
Buy Now! Buy Now
free download! free
download!
key features key
features
key features view
screenshots
Newsletter
E-mail Address:

Member Spotlight
King Lizzard
132448 "Jamroom has been crucial in managing the large volume of songs that I have on my site. As a songwriter-entertainer I have hundreds of songs that I've written and dozens of songs that I've recorded and released. Jamroom has allowed me to easily add, remove and update my catalog. I have illustrated lyrics, CD Art and concert schedules integrating other systems seamlessly into Jamroom. I've been using Jamroom for over three years now and have even helped, now and again, in the forum. On my site I've used Jamroom to manage my three bands and my festivals that I've sponsored, and have recommended Jamroom to three other artists (who now rely heavily on Jamroom as their CMS). Jamroom is the only true musician's choice for Content Management."
{jr_admin_menu} {jr_admin_menu} Index {jr_also_bought} {jr_also_bought}
 

{jr_advert}

Overview:

{jr_advert} is used for embedding advertisements created in the Jamroom Ad Manager into a Jamroom Template.

Usage:

Place the {jr_advert} function, along with any additional parameters, into a template to embed advertisements from the Jamroom Ad Manager

Parameters:

Name Type Required Default Description
advert_id integer no n/a optional "advert_id" parameter - if given, the "advert_id" parameter will force the function to display the advertisement with the specified advert_id.
type string no n/a

optional "type" parameter - if given, the "type" parameter will limit advertisements displayed to only those with the given type.

category string no n/a optional "category" parameter - if given, the "category" parameter will limit advertisements displayed to only those with the given category.
user_id integer no n/a optional "user_id" parameter - if given, the "user_id" parameter will only select random advertisements created by the specified user_id.
quota_id integer no n/a optional "quota_id" parameter - if given, the "quota_id" parameter will only select random advertisements created by the users in the specified advertisement quota_id.
assign string no n/a optional "assign" parameter - if given, the output of the function will be assigned to a template variable of the same name.

 

Examples:

embedded {jr_advert} function call in template for random advertisement:

{jr_advert}


embedded {jr_advert} function call to display a random advertisement created by user_id 0 with the type "banner":

{jr_advert user_id="0" type="banner}
{jr_admin_menu} {jr_admin_menu} page 124 of 183 {jr_also_bought} {jr_also_bought}
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
Jamroom.net 4.0 | ©2003 - 2008 Talldude Networks, LLC. | Powered by TDSDK