PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 3rd, 2009, 06:29 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2009
Location: Denpasar
Posts: 15
Send a message via Yahoo to gungde3967
Red face All Ads link to sort Most Recent ?

i hope this is not a silly question,
in this image,
Code:
Content visible to verified customers only.
when you click the All Ads link, it will take you to a pge with list of ads in your site, instead of sorting them by most view by default , how to change it to Most Recent ?

thanks for your attn
gungde3967 is offline   Reply With Quote
Old November 3rd, 2009, 09:16 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Default Sorting can only be set per category otherwise content is sorted by the default sort of views. Since ALL is not a category it is sorted by views.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 4th, 2009, 10:28 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2009
Posts: 111
Changing default sort from Most Views to Most Recent:

Maybe this will help?

In showcat.php, change this: ($catsortorder : 2)
Quote:
// do the sort box //
$sortoptions = ""; $sortdefault=""; $catrows="";

if ( empty($sort) )
{
$sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 2 );
}
else
{
$sortparam = $sort;
}
to this: ($catsortorder : 1)

Quote:
// do the sort box //
$sortoptions = ""; $sortdefault=""; $catrows="";

if ( empty($sort) )
{
$sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 1 );
}
else
{
$sortparam = $sort;
}

.
ktmtalk is offline   Reply With Quote
Old November 4th, 2009, 10:58 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Yes hacking or modding the code would work. The question was why does it perform this way which is what I answered.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 4th, 2009, 02:11 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2009
Posts: 111
Quote:
Originally Posted by Chuck S View Post
Yes hacking or modding the code would work. The question was why does it perform this way which is what I answered.
I thought I saw "how to change it to Most Recent" right?
ktmtalk is offline   Reply With Quote
Old November 4th, 2009, 03:33 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,941
Okay well yes one could do that I beleive there are a few threads where I have posted it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
recent images link not working if sort is anything but last 7 days DannyITR Photopost Pro How Do I...? 11 January 21st, 2010 10:14 PM
Collapsed Recent Ads or Random Ads show a Red X ccaldwell Classifieds Bug Reports 11 April 2nd, 2009 01:07 PM
Recent Ads - Random Ads Question h2ojunkie Classifieds How do I...? 12 October 13th, 2006 02:51 PM
Show ads without image on recent ads Kafi Classifieds How do I...? 2 October 19th, 2005 09:21 AM
Recent Ads Thumbnail Link Wrong volarium Classifieds Bug Reports 2 April 15th, 2005 10:06 PM


All times are GMT -5. The time now is 09:40 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0