coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: smartwebs on June 08, 2005, 04:03:03 PM

Title: Category count
Post by: smartwebs on June 08, 2005, 04:03:03 PM
Hi

OK now I understand why the Main Category cannot count the number of images as this would tax the database extensively, creating a performance issue.

Would it then be possible to count the number of albums in each category or would this have the same effect?

If this is not possible how could I set the main category list on the Home page, to not display the albums and files at all,
This appears to be tableh1 as below.

// HTML template for the category list
$template_cat_list = <<<EOT
<!-- BEGIN header -->
       <tr>
               <td class="tableh1" width="80%"><b>{CATEGORY}</b></td>
               <td class="tableh1" width="10%" align="center"><b>{ALBUMS}</b></td>
               <td class="tableh1" width="10%" align="center"><b>{PICTURES}</b></td>

the dillema I believe is that cat2 also uses tableh1 as it's layout.

Is there any way around this, so that the home page does not show a blank in ALBUMS and PICTURES? Which is confusing to the viewer.

I am using Coppermine as a car showroom and it works very well. you can view my problem here: http://hanwells.net/showroom/index.php

If anyone has any bright ideas, I'd love to know

Thanks

Marc
Title: Re: Category count
Post by: Joachim Müller on June 09, 2005, 07:51:15 AM
you have set the "Powered by Coppermine" notice at the bottom of each page to be displayed in white on white background, i.e. you have removed the notice (which must remain intact, un-obstructed and readable). There's no support for you on this board unless you permanently put it back. Give credit where credit is due, it's not too much to ask for.