We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Gallery App and categories
I have a site with a working gallery. The client has requested that some albums get filtered to various areas of the site and I thought I'd try doing this with categories.
I have created a set called 'Events' (slug 'events') and a category within the set called 'Weddings' (slug 'weddings'). On the page I am using 'perch_gallery_albums' but maybe additional settings are not required here?
perch_gallery_albums( array( 'template'=>'album-main-listing.html', 'image'=>true, 'filter'=>'event', //ID for set?? 'match'=>'contains', //or eq? 'category'=>'Events/Weddings', //Set>Category? 'count'=> 3 )); ));
At present the code above returns 3 albums but does not filter. Any recommendations on what to try?
Want to reply to this thread?Login with Perch