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

elric
@elric
10 months ago
66 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
10 months ago
2,761 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
10 months ago
66 posts
Douglas! YES! Thank you, works like a charm.

Tags