Sort Order Sort Order
 

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

Main Menu

Sort Order

Started by xDazedx, September 06, 2004, 02:38:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xDazedx

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

Joachim Müller

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

xDazedx

#2
Quote from: GauGau 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

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.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.guitaristworks.com%2Fimages%2Flist.jpg&hash=6636a58d0e902a5dc3aa3a0e4d66fad5e38f30a2)

Joachim Müller

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

mstralka

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.
GO IRISH

xDazedx

Quote from: mstralka 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.

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.

xDazedx

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!

mstralka

GO IRISH

xDazedx

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

Thanks so much for your help :)

Dazed