forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: tadasp on February 05, 2005, 09:35:31 pm

Title: See the total no. of albums & files near main Categories in the first page...
Post by: tadasp on February 05, 2005, 09:35:31 pm
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
Title: Re: See the total no. of albums & files at the top Categories in the first page...
Post by: Tranz on February 05, 2005, 09:36:41 pm
Not sure what you are asking. What do you mean by 'top'?
Title: Re: See the total no. of albums & files near main Categories in the first page...
Post by: tadasp on February 05, 2005, 11:19:22 pm
I think I explaned everything in pretty understandable way.. ;)

tadasp
Title: Re: See the total no. of albums & files near main Categories in the first page...
Post by: Tranz on February 06, 2005, 12:56:27 am
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
Title: Re: See the total no. of albums & files near main Categories in the first page..
Post by: Joachim Müller on February 10, 2005, 09:50:46 am
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
Title: Re: See the total no. of albums & files near main Categories in the first page...
Post by: tadasp on February 16, 2005, 08:59:12 am
Sorry, I did not meant that...... :-[