04/30/04 06:09am
GeeKnerd
Anonymous
Hi all,
Anyone know if its possible to sort the stories. Want to sort them by alpha and not by date, or do the sorting myself... Anyone knows how? thanks,
04/30/04 09:42am
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
The sorting is all done by the following line in index.php:
Text Formatted Code
$sql .= "ORDER BY featured DESC, date DESC";
Change that SQL to sort however you wish.
04/30/04 01:01pm
sort
Anonymous
Great ty, but is it possible for you to give the "code" to sort alphabetically?
04/30/04 01:36pm
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
What do you want to sort by? The story title?
04/30/04 02:36pm
Sort
Anonymous
Yes
04/30/04 02:37pm
sort
Anonymous
Unless its possible to sort them manually?
04/30/04 03:14pm
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Change it to
Text Formatted Code
$sql .= "ORDER BY featured DESC, title ASC";