Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Main category list problem  (Read 2553 times)

0 Members and 1 Guest are viewing this topic.

ypp

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Main category list problem
« 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.
« Last Edit: January 10, 2006, 08:58:53 am by GauGau »
Logged

ypp

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: Main category list problem
« Reply #1 on: January 09, 2006, 06:04:21 pm »

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

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Main category list problem
« Reply #2 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?
Logged

ypp

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: Main category list problem
« Reply #3 on: January 09, 2006, 07:07:09 pm »

Thank you, I've found a solution... :)
« Last Edit: January 10, 2006, 06:05:39 am by ypp »
Logged

FixB

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Main category list problem
« Reply #4 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 !
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.