Hi,
I followed the directions below from the other thread, and it works great for regular link pages, and the search results page, but the What's New page is still coming up in an order that is not alphabetical. Any way to alphabetitize the What's New page?
Thanks!!!!
-V
=======================================
Bobsie wrote:
If you want all alphabetical listings without new and cool links being
listed first, just go to db_utils.pl, sub build_sorthit and comment out
the following lines:
quote:
------------------------------------------------------------------------
($unsorted[$db_isnew + ($i * ($#db_cols+1))] eq "Yes") and ($isnew{$i} =
1);
($unsorted[$db_ispop + ($i * ($#db_cols+1))] eq "Yes") and ($iscool{$i}
= 1);
($isnew{$b} and !$isnew{$a}) and return 1;
($isnew{$a} and !$isnew{$b}) and return -1;
($iscool{$b} and !$iscool{$a}) and return 1;
($iscool{$a} and !$iscool{$b}) and return -1;
($isnew{$a} and $isnew{$b}) and return lc($sortby{$a}) cmp
lc($sortby{$b});
($iscool{$a} and $iscool{$b}) and return lc($sortby{$a}) cmp
lc($sortby{$b});
------------------------------------------------------------------------
I hope this helps.
[This message has been edited by Bobsie (edited April 12, 1999).]
=======================================