Main category list problem Main category list problem
 

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

Main category list problem

Started by ypp, January 08, 2006, 04:08:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ypp

Hello,

I have two levels of categories (main and sub) and no albums between them. With this kind of structure the main category list is shown without the total number of albums and files and so the Users could think the gallery is empty.

I'd like to show the total number of albums and files of all the sub categories inside every main category (main cat list).

For Example, If I have:

main cat1 ->
     sub cat1 ->
          album 1:   3 files
          album 2: 15 files
          album 3: 71 files

main cat2 ->
     sub cat1 ->
          album 1: 12 files
          album 2: 27 files

     sub cat2 ->
          album 1:  9 files

     sub cat3 ->
          album 1:  2 files
          album 2:  8 files
         
etc. ....
   
I think the main cat list should be so:

Galleries:                                                            Albums:             Files:

main cat1                                                                   3                    89

main cat2                                                                   5                    58


But now it appears so:

Galleries:                                                               Albums:          Files:
main cat1                                                                   

main cat2                                                                   


Please, I need a solution... ???
Thank you.

ypp

Please, don't answer to me all together at the same time ;)...  :'(

Tranz

Is there a reason why you don't list the subcategories so that the album/file counts show for them?

ypp

#3
Thank you, I've found a solution... :)

FixB

Could you tell us your solution ?
I would really like to display this information as stated in your first post !
Thanks !