Selecting and hiding more than one image at a time
3 posts by 2 authors in: Forums > CMS Builder
Last Post: March 20, 2014 (RSS)
I have a random image that appears on my client's site whenever someone visits or refreshes the page: http://www.wilmot.ca/. This is a multiple record sections and over time the client has uploaded over 90 photos, some of which are don't appear on the live site because he's selected the "hidden" checkbox. If he wants to, say, hide several images he has to modify each one individually and select "hidden". Is there a way for him to do this in batches? i.e. choose a group of images and hide them all in one go?
By gregThomas - March 14, 2014
Hi CommonSenseDesign,
Unfortunately there isn't a way to do this with the default CMS Builder functionality, but it would be straight forward to create a plugin that could. You'd need to use the list_advancedCommands plugin hook to add a advanced command for hiding records to the drop down menu on the section list page.
Then you'd use the section_unknownAction plugin hook to detect when the user had selected the hide item from the drop down menu and hide the appropriate records.
We would be able to create this plugin for you if required. If you send an e-mail to consulting@interactivetools.com, we can give you an estimate.
Thanks!
Greg
PHP Programmer - interactivetools.com
Sorry for the delay in getting back to you, Greg. My client has decided to put this on hold for now.
Cheers,
Nigel