Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:43 pm EST

Geeklog Forums

Can I sat news in alphabetical order just for one section?


Status: offline

Ana

Forum User
Newbie
Registered: 11/14/04
Posts: 11
Location:Buenos Aires, Argentina
Well, that´s it. Can I do that?
I want to set in alphabetical order just one section of news... can I do that?
(Hope I can! Can someone help me )

Thanks!

Ana
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
No, I believe the order is hard coded to show featured first and then stories by date. You would have to add a hack to index.php.

Look for this line at approx line 178 in the current version:
Text Formatted Code
$sql .= "ORDER BY featured DESC, date DESC";
 

Geeklog components by PortalParts -- www.portalparts.com
 Quote

Status: offline

Ana

Forum User
Newbie
Registered: 11/14/04
Posts: 11
Location:Buenos Aires, Argentina
Thanks for the answer Blaine.
That seems a bit hard for me... I think that the actual order seems quite cool right now! Wink
Ana Mr. Green
 Quote

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