solved A Page specifically for Free Audio Downloads

kayskeem
@kayskeem
3 years ago
200 posts
I know how to come up with a page for my Jamroom website. However, I'd like to learn how to go about showing a page with only free audio downloads. What I mean is every audio that an artist or producer as set to free. Everyones not just a specific artist or producer. Of course I would like to have the jrAudio player display this but is this even possible ? Thanks.
updated by @kayskeem: 27 Apr 2014 07:19:08PM
paul
@paul
3 years ago
3,128 posts
Putting this in your new template would be a good starting point -

{jrCore_list module="jrAudio" search="audio_file_item_price = 0"}

Pa


--
Paul Asher - JR Developer and System Import Specialist
kayskeem
@kayskeem
3 years ago
200 posts
Thanks @paul it didnt work nothing shows up I think its because the price on jamroom cant be set to 0 it has to be 0.01 minimum. My prices for free download is blank. what to do then ? Also when i use your code and put a price for a song i'm selling on my site it shows !! I was happy to see that its just 0 doesnt work if i never set a price to begin with
updated by @kayskeem: 20 Mar 2014 06:26:10PM
kayskeem
@kayskeem
3 years ago
200 posts
@paul i updated what i said above so please look over it.
michael
@michael
3 years ago
6,175 posts
The problem is your trying to look for a value that might not be there 'audio_file_item_price'.

Not sure there is currently a syntax to search the database for something that isn't there.
paul
@paul
3 years ago
3,128 posts
This should work - Note that you'll need jrCore 5.1.30 or above for this to be supported.

{jrCore_list module="jrAudio" search="audio_file_item_price not_like %__%"}

Pa


--
Paul Asher - JR Developer and System Import Specialist
kayskeem
@kayskeem
3 years ago
200 posts
@paul that worked ! I have another question. i have created a special member download in form desinger with the label "vip artist download" and the name "'audio_vip_downloadable" it works like the free downloads thats already in jamroom. How do i make it search for just those songs checked for vip artist download ? They are free as well but for vip artist download only. I tried everything and I cant get it.
paul
@paul
3 years ago
3,128 posts
Assuming the custom field is a checkbox,

{jrCore_list module="jrAudio" search="audio_vip_downloadable = on"}


--
Paul Asher - JR Developer and System Import Specialist
michael
@michael
3 years ago
6,175 posts
Got this added into the docs for jrCore_list

"jrCore_list"
https://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list
kayskeem
@kayskeem
3 years ago
200 posts
worked thanks !! @paul

Share This

Tags