Gossamer Forum
Home : Products : Links 2.0 : Customization :

rearange the date in review.cgi

Quote Reply
rearange the date in review.cgi
i have a problem with review.cgi, i want the links to display from the oldest to newest,
can someone please help me.


Quote Reply
Re: rearange the date in review.cgi In reply to
You will have to find another field to sort the reviews by...default is using the 0 or the ID field.

Change the following codes:

Code:

$db_sort_links = 0;


to the following:

Code:

$db_sort_links = 6;


in the review.def file.

Notice the bolded 6...that is for the Date field.

Regards,

Eliot Lee
Quote Reply
Re: rearange the date in review.cgi In reply to
Thank you for your help
I did try that before i post a message for help, but the thing is, i want it to rearange from the oldest date to the newest instead of the newest to the oldest


Quote Reply
Re: rearange the date in review.cgi In reply to
Well, by selecting the Date field, it should work? Did you replace your sub build_sorthit with the one that Widgetz wrote for Review.cgi??? If not...then that is your problem.

Regards,

Eliot Lee