Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Picture Count in top categories?  (Read 15244 times)

0 Members and 1 Guest are viewing this topic.

caps20

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Picture Count in top categories?
« on: February 05, 2006, 01:53:23 am »

Hello everyone!

Sorry if this has been posted before. I did a search but I couldn't find anything ^^

I was just wondering if there was a posibility to show a picture count for a main category that has subcategories and albums in those subcategories.
Umm, okay so this might sound a little confusing, basically what I mean is:

I have a gallery, sorted into different categories, for example one of them is "Photo Shootings", and in this category I have different categories (1999 and before, 2000-2003 and 2004-2006) in which the pictures are so it's less confusing for the visitors. Now on the main page I configured the gallery to show only the top categories, so all you can see on the main page is the "Photo Shooting" category, but there is no album count nor picture count next to it as there are no pictures in the actual "Photo Shootings" category. So what I mean is: is there a possibilty to have an album count (all albums in the three subcategories) and a picture count (of all albums on the three categories) on the main index along with the Photo Shootings category?

Whoo. Sorry if this sounded confusing.  :-\ I hope you understand what I mean, haha ^^

Thanks in advance! =)
« Last Edit: April 06, 2006, 07:56:59 am by GauGau »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Picture Count in top categories?
« Reply #1 on: February 05, 2006, 09:59:09 am »

I think I understood your request and what I understood seemed useful to me, so I modified Donnoman's CPG_OCat plugin to summarize the stats of categories to include all subcategories (or just hidden subcategories depending upon the configuration option).   I posted the plugin with my mod on the development board for CPGOCat; please download it there and give it a whirl.

Here's the original plugin thread from this forum: http://forum.coppermine-gallery.net/index.php?topic=24684.0
And here's the thread for my mod: http://cpg-contrib.org/board/index.php?topic=121.0
Logged

caps20

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Picture Count in top categories?
« Reply #2 on: February 05, 2006, 04:50:27 pm »

Thank you so much, that's exactly what I wanted!  ;D

I just have one more little (stupid) question...  Now that I installed it I can't seem to order the categories alphabetically anymore. Is there any way to not let the script order the categories, but still use the category order control panel that came with Coppermine originally?

Thanks again for adding that to the plugin. Worked like a charm =)
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Picture Count in top categories?
« Reply #3 on: February 05, 2006, 05:49:05 pm »

I'm confused.  The entire point of Donnoman's plugin is to allow more ordering options for the categories, including alphabetical for the category names.  Have you clicked on the "category" title?
Logged

caps20

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Picture Count in top categories?
« Reply #4 on: February 05, 2006, 06:25:56 pm »

Oh, sorry. What I meant was is there a possibilty to set the default ordering option to whatever I choose? It does of course sort everything the way I want if I click on category (or files, or...) but I'd like it to be ordered alphabetically by default, for when you first view the whole gallery.
I kind of forgot to say I meant the default settings (: Sorry about that.
Logged

Alysandra

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 24
    • Lazy Shades
Re: Picture Count in top categories?
« Reply #5 on: April 05, 2006, 10:20:59 am »

I posted the plugin with my mod on the development board for CPGOCat; please download it there and give it a whirl.
...
And here's the thread for my mod: http://cpg-contrib.org/board/index.php?topic=121.0

The link for your plugin is broken :(
Any chance to have a good one ?

Thanks
Alysandra
Logged
"C'est dans le choix que nous faisons de nos pensées que réside notre liberté."
- Fox Emmet

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Picture Count in top categories?
« Reply #6 on: April 05, 2006, 04:12:57 pm »

The link worked for me. Try again.
Logged

Alysandra

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 24
    • Lazy Shades
Re: Picture Count in top categories?
« Reply #7 on: April 05, 2006, 05:34:19 pm »

Same result. It doesn't work. I tried with internet explorer and firefox.
Logged
"C'est dans le choix que nous faisons de nos pensées que réside notre liberté."
- Fox Emmet

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Picture Count in top categories?
« Reply #8 on: April 05, 2006, 05:49:41 pm »

Ah, ok. I thought you were referring to the site, not the link to download the plugin.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Picture Count in top categories?
« Reply #9 on: April 05, 2006, 06:16:46 pm »

Download link doesn't work for me neither, so I can confirm your issue. Needs to be discussed at cpg-contrib though, not on this site.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Picture Count in top categories?
« Reply #10 on: April 05, 2006, 10:12:55 pm »

I just posted my mod on the CPGOcat plugin thread (on this forum) as a "mirror".  If an admin prefers it to only be on the CPG-Contrib board, feel free to remove it.  Please discuss this mod and the plugin *only* on the CPG-Contrib board; it keeps things organized and in one place.
Logged

Alysandra

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Female
  • Posts: 24
    • Lazy Shades
Re: Picture Count in top categories?
« Reply #11 on: April 05, 2006, 11:26:39 pm »

It works ! Thanks :)
Logged
"C'est dans le choix que nous faisons de nos pensées que réside notre liberté."
- Fox Emmet
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.