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: Sort Order  (Read 5146 times)

0 Members and 1 Guest are viewing this topic.

xDazedx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Sort Order
« on: September 06, 2004, 02:38:33 am »

I have a question about the default sort order for the Galleries. I would like it to sort alphabetically by Category instead of Sub-Category. What do I need to change to get the below results? The site is www.guitaristworks.com.
Thanks!!


Current View                       Preferred View     
-----------------------                  ------------------
(Carvin) acoustic                  (Carvin) acoustic
(Fender) acoustic                (Carvin) amps
(Carvin) amps                      (Carvin) electric
(Fender) amps                    (Fender) acoustic
(Carvin) electric                   (Fender) amps
(Fender) electric                  (Fender) electric
« Last Edit: September 08, 2004, 07:49:33 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sort Order
« Reply #1 on: September 06, 2004, 05:10:59 am »

Categories aren't being sorted automatically at all, you (as admin) have to sort it. Use the "Categories" link from the admin menu. This is in the documentation: http://coppermine.sourceforge.net/manual.php#cat_cp

Joachim
Logged

xDazedx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Sort Order
« Reply #2 on: September 06, 2004, 03:48:02 pm »

Categories aren't being sorted automatically at all, you (as admin) have to sort it. Use the "Categories" link from the admin menu. This is in the documentation: http://coppermine.sourceforge.net/manual.php#cat_cp

Joachim

My first post was wrong. I do not have sub-categories. I meant to say albums!

I created two Categories for example : Carvin and Fender for example. In both of  those categories I have 3 albums, Acoustic, Amps and Electric.  It is just sorting by the albums instead of by category.

(http://www.guitaristworks.com/images/list.jpg)
« Last Edit: September 06, 2004, 04:12:32 pm by xDazedx »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Sort Order
« Reply #3 on: September 07, 2004, 07:14:02 am »

The same thing I said about categories applies to albums as well: they don't get sorted automatically, you have to sort them manually (by default, they're sorted in the order you create them). See http://coppermine.sourceforge.net/manual.php#albmgr
Please read the complete documentation before asking more questions.

Joachim
Logged

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Sort Order
« Reply #4 on: September 07, 2004, 12:21:23 pm »

Do you mean that you want the album titles sorted in the dropdown boxes?  If so, on which pages?  I suggest searching for Frogfoot's fancy album sort mod.
Logged
GO IRISH

xDazedx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Sort Order
« Reply #5 on: September 07, 2004, 04:40:58 pm »

Do you mean that you want the album titles sorted in the dropdown boxes?  If so, on which pages?  I suggest searching for Frogfoot's fancy album sort mod.

Exactly. The Galleries are sorted correctly on the main page. However when you upload and have to choose which album you want the picture to go into, they are sorted alphabetically by album and not category. As you can see by the screen shot from above, it would be better to sort by Category down than Album down.

Thanks mstralka I will look for the mod.
Logged

xDazedx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Sort Order
« Reply #6 on: September 08, 2004, 12:33:54 am »

So has anyone seen that mod laying around anywhere lol? I looked under the couch and refrigerator and a few other places with no luck.

Thanks!
Logged

mstralka

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 178
Re: Sort Order
« Reply #7 on: September 08, 2004, 01:46:40 am »

Did a search on "frogfoot", it came up immediately
http://forum.coppermine-gallery.net/index.php?topic=8861.0
Logged
GO IRISH

xDazedx

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Sort Order
« Reply #8 on: September 08, 2004, 01:51:00 am »

I tried that and came up with 3 or 4 returns.

Thanks so much for your help :)

Dazed
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.