solved Doing more to the chart field

alt=
duke
@musamensa
7 years ago
253 posts
Hi i am trying to make the chart results display the following additional results;
1. return only audio with cover image (tried require_image=$require_image)
2. return audio from a specific quota

{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="1" template="chart_row.tpl" pagebreak="10" page=$_post.p}

thanks
updated by @musamensa: 05/24/17 02:26:50PM
nate
@nate
7 years ago
917 posts
1. require_image="audio_image"

Let me check on the quota search.
alt=
duke
@musamensa
7 years ago
253 posts
...and aso how can i chart all audio from one musician ?
alt=
duke
@musamensa
7 years ago
253 posts
thanks
brian
@brian
7 years ago
10,148 posts
duke:
...and aso how can i chart all audio from one musician ?

Here it is all together:

{jrCore_list module="jrAudio" chart_field="audio_file_stream_count" chart_days="1" require_image="audio_image" search="_profile_id = 1" template="chart_row.tpl" pagebreak="10" page=$_post.p}

Change the "_profile_id = 1" to match the profile_id you want to return just the results for.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
alt=
duke
@musamensa
7 years ago
253 posts
fantastc :)
alt=
duke
@musamensa
7 years ago
253 posts
I am using the code below to pull results from a country but is showing a blank page

search="_profile_hometown_0 = Jamaica"
alt=
duke
@musamensa
7 years ago
253 posts
also i would like to return 'all time plays' what sould i enter here ?
chart_days="1"
paul
@paul
7 years ago
4,326 posts
Quote: I am using the code below to pull results from a country but is showing a blank page

search="_profile_hometown_0 = Jamaica"

No initial underscore -
search="profile_hometown_0 = Jamaica"

Quote: also i would like to return 'all time plays' what sould i enter here ?
chart_days="1"

That info will be included in the returned audio items' data as 'audio_file_stream_count' so add the variable to your template where you want it to show.
hth


--
Paul Asher - JR Developer and System Import Specialist

Tags