Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 08:13 pm EST

Geeklog Forums

Links order


Status: offline

marcelw

Forum User
Newbie
Registered: 09/04/05
Posts: 12
How do I order the links of webresources different as buy there title? I would like to use their ID for that.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That should be it:
Text Formatted Code
$sql .= ' ORDER BY category ASC,title';
 
(line 151 in links/index.php).

bye, Dirk
 Quote

Status: offline

marcelw

Forum User
Newbie
Registered: 09/04/05
Posts: 12
Thanks Dirk -- as allways correct. I've changed it in
Text Formatted Code
$sql .= ' ORDER BY category ASC,lid DESC';
 

so now I can identify the links as YYYYMMDD and show newest first in a bibliography-like listing.
 Quote

All times are EST. The time is now 08:13 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