2 music tpl pages
Jamroom Help
i will try to be as clear as possible.
1. 1 music.tpl file
2. Brian created a module that i can set artist 2 uploads per day and labels 12 uploads per day.
3. The labels load up 12 files to music.tpl and everyone moans and groans.
4. Douglas provided me with code that groups by album. works great if i can apply that to a quota which i got to work by this statement.
{else}
{jrCore_list module="jrAudio" search1="profile_quota_id = 4" order_by=$order_by group_by="audio_album" order_by=$order_by template="music_row.tpl" require_image="audio_image" pagebreak=$_conf.versionist_default_pagebreak page=$_post.p}
{/if}
The code above shows last song of the 12 from the label quota. Great.
So i got it to work to group by album for quota 4. It just posts last song of 12 to music.tpl see
http://www.versionist.net/music1
This is douglas code group by album. those are full albums but just last song upload showing.
What i need is another statement in there that says quota 2 does not need to be grouped by album
The order on the music.tpl is still newest to oldest
It could be
artist song1
label 1 song even though they uploaded 12
different label 1 song even though they uploaded 12
artist song 1
artist song 2
different artist song 1
etc
Order is just whoever uploads in order.
I am trying to suppress the labels from filling up music.tpl
i tried adding this and it returns blank page
search2="profile_quota_id = 2" group_by=$group_by order_by=$order_by
updated by @chorton581: 01/06/14 10:08:01AM