View Full Version : Today's Ads - SORT ORDER
February 16th, 2007, 01:13 PM
I have all of my categories set to be sorted "Most Recent."
But, when the calendar date or Today's Ads are clicked, they come up sorted as Most Views."
How do I change this default?
February 16th, 2007, 02:03 PM
The calendar a category is not specified so therefore it defaults to most views
so when your not in a category thats how it is done
if ( empty($sort) )
$sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 2 );
$sortparam = $sort;
change the 2 to whatever you want the number sort
February 16th, 2007, 02:53 PM
Thanks Chuck, works great! (sort #1)
Gallery = Most Views (for best viewing and entertainment.)
Classifieds = Most Recent (Early bird gets the worm.)
February 16th, 2007, 04:45 PM
Not a problem enjoy
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.