forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ypp on January 08, 2006, 04:08:19 pm

Title: Main category list problem
Post by: ypp on January 08, 2006, 04:08:19 pm
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.
Title: Re: Main category list problem
Post by: ypp on January 09, 2006, 06:04:21 pm
Please, don't answer to me all together at the same time ;)...  :'(
Title: Re: Main category list problem
Post by: Tranz on January 09, 2006, 06:09:22 pm
Is there a reason why you don't list the subcategories so that the album/file counts show for them?
Title: Re: Main category list problem
Post by: ypp on January 09, 2006, 07:07:09 pm
Thank you, I've found a solution... :)
Title: Re: Main category list problem
Post by: FixB on February 08, 2006, 11:25:12 am
Could you tell us your solution ?
I would really like to display this information as stated in your first post !
Thanks !