Welcome to Geeklog, Anonymous Friday, September 20 2024 @ 09:00 pm EDT

Geeklog Forums

Changing stories sorting, I'd like newest below oldest


Status: offline

tampano

Forum User
Chatty
Registered: 04/06/04
Posts: 59
Is it possible to set the sorting order of articles in a way that newest stories go below oldest?
Is it possible to make this thing default for all users and not making them able to change it?
--
Tampano
admin of http://www.tampano.com
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
You have to do a little hacking. In your index.php file change

Text Formatted Code
$sql .= "ORDER BY featured DESC, date DESC";

 


to

Text Formatted Code
$sql .= "ORDER BY featured DESC, date ASC";

 
 Quote

Status: offline

tampano

Forum User
Chatty
Registered: 04/06/04
Posts: 59
Quote by Turias: You have to do a little hacking. In your index.php file


Great! Thanks...
--
Tampano
admin of http://www.tampano.com
 Quote

All times are EDT. The time is now 09:00 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content