Add “Select All” and “Select None” controls to your Client Response Gallery
(Applies to CE4 CRG and Backlight Client Response)
At the request of a Client Response Gallery user, Matt and Ben added some code to the CRG plug-in that will allow the visitor to either select all images or select none.
This is very easy to implement in your Client Response galleries or albums. Just add a bit of html code to either the Page Copy (md) or Sidebar Copy (md) field. I suggest adding it to the sidebar just below or above the legend in either your uploaded galleries or in your Publisher template.
To add a Select All option, include the following code:
<a href='#' class='select-all'>Select All</a>
To add a Select None option, include the following code:
<a href='#' class='select-none'>Select None</a>
You can add these links anywhere you want in either the main copy area or the sidebar of your Client Response Gallery. A logical place would be at the end of the Legend in the sidebar (CE4).
In Backlight, add the code to your Client Response album template in the Album Copy > Main Copy area.