forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: Michael-CGC on August 02, 2004, 11:55:58 am

Title: Sub-Categories in alphabetic order
Post by: Michael-CGC on August 02, 2004, 11:55:58 am
Hi,

I've upgraded my Coppermine to 1.3.1. In the previous version I had my sub-categories sorted in alphapatic order. How do I do this with this version and where?

Thank you in advance
Regards,
Michael
Title: Re: Sub-Categpries in alphapatic order
Post by: Casper on August 02, 2004, 12:33:51 pm
You set the order of the cats and sub cats in the category manager, click the up or down buttons accordingly.
Title: Re: Sub-Categpries in alphapatic order
Post by: Nibbler on August 02, 2004, 01:22:46 pm
Open your index.php files, and replace

Code: [Select]
ORDER BY pos

with

Code: [Select]
ORDER BY name
to sort them automatically.