Category count Category count
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Category count

Started by smartwebs, June 08, 2005, 04:03:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

smartwebs

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
M

Joachim Müller

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.