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: See the total no. of albums & files near main Categories in the first page...  (Read 3782 times)

0 Members and 1 Guest are viewing this topic.

tadasp

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • Tauta, inc

It should be the way to count the total number of files for the top categories if there more sub-categories/sub-sub-categories with albums & pictures inside of them.

EVENT (main category displayes stats:  2 albums, 16 files) 
    - BBall (a subcategory contains 2 albums and 32 files)
        + BBall Album1 (an album with 12 files)
        + BBall Album2 (an album with 20 files)
 - Hunting1 (an album with 12 files)
 - Hunting2 (an album with 4 files)

Now:                                  Category EVENT stats :  2 albums, 16 files
This feature should display:    Category EVENT stats:   4 Albums, 48 files

There must be the way to count & display these stats fast and without any delays in CPG loading speed.

This issue was touched in http://forum.coppermine-gallery.net/index.php?topic=10612.0

I hope CPG 1.4 will have this feature...

Thanks,
tadasp
« Last Edit: February 10, 2005, 09:51:08 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149

Not sure what you are asking. What do you mean by 'top'?
Logged

tadasp

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • Tauta, inc

I think I explaned everything in pretty understandable way.. ;)

tadasp
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149

I really hate it when people edit things to make me look bad when their posts were poorly written in the first place. Anyway, there are several meanings for top... top ranked, top placement vertically. Now that you have used more words, it seems like you actually are meaning parent category. :P
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de

what you're requesting would mean additional queries, thus slowing the index page down just for statistics purposes - I don't think the majority of users will find this helpfull. However, if you need full-blown stats, search the board - as far as I can remember, someone posted a hack/workaround.
Flagging this thread as "turned down". Not a good idea to try to make supporters look bad by modifying a posting like you did after a reply has been posted, won't win you friends...

Joachim
« Last Edit: February 16, 2005, 09:08:52 am by GauGau »
Logged

tadasp

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 11
    • Tauta, inc

Sorry, I did not meant that...... :-[
Logged
Pages: [1]   Go Up
 

Page created in 0.024 seconds with 19 queries.