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: Number of Albums?  (Read 2587 times)

0 Members and 1 Guest are viewing this topic.

Karri

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 44
    • The Fuselage
Number of Albums?
« on: January 22, 2004, 07:08:13 pm »

Is there a way to have a category list how many albums and photos are in it even if they are in sub categories?  

For instance I have a main category called TV, inside it I have a list of shows that are sub categories and inside those I have albums with different eps.  

On the index page in the category list it lists TV but it doesn't show the number of albums or photos and some of the "slower" visitors may not get that there is actually something in there to see since those aren't listed.

It would be cool to have those numbers listed depending on what level you are at, so if you are at the very last level and there is only one album below that it will say that there is just one album but if you are at the top level category and that category has many subcategories and albums it will list how many albums are blow it.

Thanks!!!
Logged
Thanks,
Karri

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Number of Albums?
« Reply #1 on: January 22, 2004, 07:35:35 pm »

Have you tried changing, in config, the 'Number of levels of categories to display'.  Change it from 2 to 4 or 5.

This might answer the question on your other thread as well.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Karri

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Female
  • Posts: 44
    • The Fuselage
Number of Albums?
« Reply #2 on: January 22, 2004, 07:55:40 pm »

Ya tried that, it doesn't really do what I want.  It puts all of the sub categories on the main page and it really clutters it up.  Granted it adds the pictures to the random block then but the excess clutter detracts from the over all look of it for me.

Thanks for the suggestion though.  It does give me a few things to think about when I am looking for the code for the other thread to try and get all of the sub albums to display in the random block.
Logged
Thanks,
Karri

DefenceTalk.com

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 230
    • http://www.defencetalk.com
Number of Albums?
« Reply #3 on: January 23, 2004, 05:45:07 pm »

Yeah been looking for this for a long time!

www.defencetalk.com/pictures < doesn' show how many albums and pictures are in each category. If you display 5/6 levels deep that will just make the page so long and hard for dialup users to load.  Besides its not so "great" to display all 60 categories in order to display just how many pics and albums each category has!  :?
Logged
(http://www.defencetalk.com/pictures/signature_cpg.php)
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.