Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization:
artist genre
msultani



Joined: 17 Nov 2006
Posts: 545

Posted: 04/25/11 18:19 
I am trying to show genres of artists from different quota, but the genres duplicates and does not show all the genres from quota 3 and I am using:

Code
{math equation="x % y" x=$BAND_RANK y=3 assign="tr_test"}
{math equation="x / y" x=12 y=3 assign="tr_width"}
{if $BAND_RANK == 1 || $tr_test == 1}
<tr>
{/if}
<td width="25%">
<div align="left"><a href="{jr_url seftype="lists" sefvalue="browse_artist" genre=$BAND_GENRE|jr_urlencode}">{$BAND_GENRE}</a>
</div><br /></td>
{if $tr_test == 0}
</tr>
{/if}


and calling it by:


Code
{jr_ranking mode='band' quota='3' order='6'  show='21' row_template='jr_index_artist_genre.tpl'}


Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 05/31/11 10:32 
Try changing your ranking functions order to 22


Code
{jr_ranking mode='band' quota='3' order='22' show='21' row_template='jr_index_artist_genre.tpl'}


Hope this helps,
Douglas


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
User Site Design, Integration and Customization

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.