MAD©:
Maybe add another checkbox saying album downloadable?
or something along those lines so it will have two variables
That's what I actually want to avoid - I don't want to start adding additional fields into any of the forms - that's what the form designer is for. "out of the box" the forms should be as minimal as they need to be, and site owners can then customize them to suit their needs - otherwise we actually make the module less flexible by forcing every site to support a base set of form fields.
So instead what I've created is a new module - "Parameter Injection" that I've just uploaded to the marketplace. This module can work hand in hand with the form designer to give you more control over how specific "views" gather and show data.
So in this instance what you want to do is:
1) Go to your marketplace and install the new Parameter Injection module (it's free).
2) Enable the module, then go to the ACP -> Parameter Injection and you should land on the Parameter Browser page.
3) Create a new parameter by selecting "Audio Support" from the List Module select, then "download_album" from the List View. Select the groups you want to apply this view to (i.e. all users), and then finally in the List Parameters textarea enter:
audio_downloadable != off
4) Save the new entry
What this will do is when the "download_album" view is loaded, that extra parameter will be "injected" into the search function that gathers the songs that are part of the album - in this case, only songs that have been specifically excluded from being downloaded will NOT be included in the album download.
Note that the download_album view is _cached_ - if you already have clicked on it for albums that contain songs that should NOT be downloaded, you can simply modify a song in the album and it will delete the existing cached download and allow it to be rebuilt again.
So check that out and let me know if that works.
Hope this helps!
--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
updated by @brian: 05/16/14 07:46:47AM