solved How to exclude Audio that doesn't have images?

elric
@elric
last year
81 posts
Hello, I have a "Top Ten" list on my home page that is working great, except I want to exclude audio files/songs that don't have images associated with them. Here is the template code:

{jrCore_list module="jrAudio" search1="audio_genre != Advertisement" order_by="audio_file_stream_count desc" limit="10"}'

Cheers!
~E
updated by @elric: 07/24/23 05:02:22PM
douglas
@douglas
last year
2,790 posts
Hello,

Try adding the require_image parameter to your jrCore_list function.

{jrCore_list module="jrAudio" search1="audio_genre != Advertisement" order_by="audio_file_stream_count desc" limit="10" require_image="audio_image"}

Hope this helps!


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos

updated by @douglas: 04/20/23 11:33:11AM
elric
@elric
last year
81 posts
Douglas! YES! Thank you, works like a charm.

Tags