Welcome to Geeklog, Anonymous Tuesday, April 16 2024 @ 01:19 pm EDT

Geeklog Forums

sort


Lars

Anonymous
I just read a foum post about sorting articles. You change the code in index.php, but does this apply only on the front page then ? Let's say you alter the code in index.php to get it sorted by title, will the articles in all the topics be sorted as well. ?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Lars: Let's say you alter the code in index.php to get it sorted by title, will the articles in all the topics be sorted as well. ?

Depends on how you make the change Mr. Green

But there's currently only one ORDER clause in index.php and if you change that, it would affect both the main index and the topic index pages.

bye, Dirk
 Quote

Lars

Anonymous
Thnx! What can you sort by ? Title, date I know.....but what about comments & hits?

 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
if the field exists in the table being queried, you should be able to sort by it.
 Quote

All times are EDT. The time is now 01:19 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