Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 02:50 am EST

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 EST. The time is now 02:50 am.

  • 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