forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: xDazedx on September 06, 2004, 02:38:33 am

Title: Sort Order
Post by: xDazedx 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
Title: Re: Sort Order
Post by: Joachim Müller 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
Title: Re: Sort Order
Post by: xDazedx 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.

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.guitaristworks.com%2Fimages%2Flist.jpg&hash=6636a58d0e902a5dc3aa3a0e4d66fad5e38f30a2)
Title: Re: Sort Order
Post by: Joachim Müller 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
Title: Re: Sort Order
Post by: 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.
Title: Re: Sort Order
Post by: xDazedx 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.
Title: Re: Sort Order
Post by: xDazedx 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!
Title: Re: Sort Order
Post by: mstralka 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
Title: Re: Sort Order
Post by: xDazedx 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