Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Sort order of links...with newest showing first? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 2
TOPIC: Re:Sort order of links...with newest showing first?
#95
anniek (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Sort order of links...with newest showing first? 3 Months, 3 Weeks ago Karma: 0  
Hi there. Been using Dew links for ...geesh, not even sure how long now... a year and a 1/2 maybe...
any ways.... had to go in to do some updates and wanted to fine tune it to make it FRESH (LOL).... but just realized.... the links, when added....put the newest additions to the BOTTOM...is there any way to make the newly joined sites be at the top of the category they joined???
Thanks in advance for any help!!

we are at www.folkartsquare.com/Links

Thanks
Annie
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#97
Dewed (User)
Administrator
Posts: 164
graph
User Offline Click here to see the profile of this user
Dew-Code.com
Re:Sort order of links...with newest showing first 3 Months, 3 Weeks ago Karma: 6  
edit include/sites.php

Locate near line #49
Code:

order by hits_in desc
Change to
Code:

order by added desc
The old site had a FAQ entry regarding this. Basically you can sort by any column name. You can even sort by 2 columns. Valid column names are .. site_name, site_url, added, last_update, site_description , country, hits_in, hits_out, total_reviews Sorted alphabetically ...
Code:

order by site_name desc
Sorted most recently updated, which is just liked added, but allows you to "bump" sites up by editing their entries in the admin panel.
Code:

order by last_update desc
Sorted by most hits in, then most hits out..
Code:

order by hits_in desc, hits_out desc
Sorted by site with most reviews, then by oldest first
Code:

order by total_reviews desc, added asc
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/05/07 08:05 By Dewed.
 
Nothing to it but to Dew it !
Dew-Code.com
  The administrator has disabled public write access.
#106
anniek (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Sort order of links...with newest showing first? 3 Months, 3 Weeks ago Karma: 0  
thank you very much...worked like a CHARM.... and now the links is just how I wanted/needed it to be...with the most recently added at the top of the heap...Again, thank you very much for your reply!! Annie
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008