|
Title: Number of images Post by: jonathanb on April 20, 2008, 11:40:59 am I am doing a site for a school who are going to have a lot of galleries with sub galleries. When we have a gallery called fundraising which has sub galleries for golf days and walkathons. Each of these will have sub galleries for each year. On the main gallery page it shows the fundraising gallery with a list of the sub galleries (gofl days and walkathons) which is what it should but because there are no images in the golf days subgallery (they are in the golf day - year sub gallery) it is showing (0) images so people will think there are no images in that gallery. I have turned of the display number of items in gallery option but this seems to only work on the actual gallery and not the sub gallery. Anyone know how to get rid of this.
http://www.hcps.co.za/site/index.php?option=com_rsgallery2&Itemid=27 Thanks Title: Re: Number of images Post by: Tom on April 20, 2008, 12:04:51 pm To remove the subgalleries listing go to gallery.php in your template and search for / remove this code -
Code: <div class="rsg_sub_url_single"> <?php $this->_subGalleryList( $kid ); ?> </div> Hope that helps... Title: Re: Number of images Post by: jonathanb on April 20, 2008, 12:14:50 pm Hi Tom
Thanks but I want the subgallery listing to show, just not the number of images in the sub gallery. Main gallery - Sub gallery (0) - Sub Sub gallery1 (20) - Sub Sub gallery2 (25) - Sub Sub Gallery3 (30) When I turn of the feature to show the number of images it does not turn it of until you are in the sub category IE it shows on the main page. Thanks |