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 February 14th, 2008, 11:30 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2007
Location: Baja, México
Posts: 62
sort order of ads when ''all ads'' ...

How do I change the default order of showed ads when the ''all ads'' link is clicked?
Also where do I change number of ads per page?
Luis Larios is offline   Reply With Quote
Old February 14th, 2008, 02:10 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
If you use all ads your not sorting by a category hense you can not set a default sort therefore it defaults to the default sort in the code which is latest. You can edit the code and change the 2 to a different number. As far as perpage thats a number multiplied by the number of rows you show so 4 rows is 12 and 5 is 15. You can look also in showcat.php and change the 2x 3x 4x to higher numbers like 5x 6x 7x etc.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 14th, 2008, 02:50 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2007
Location: Baja, México
Posts: 62
Ok thanks Chuck, althought I did not have any problems changing default number of ads I still cannot change the default sort order for ''all ads''. My showcat file shows $catsortorder : 2 but the ads are actually default sorted by ''most views''...
Luis Larios is offline   Reply With Quote
Old February 14th, 2008, 02:55 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
well change the 2 to some other sort number, The default sort if no sort is defined is 2 as noted in the code I posted.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 14th, 2008, 03:03 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2007
Location: Baja, México
Posts: 62
Perfect ''1'' means most recent. Thanks Chuck!
Luis Larios is offline   Reply With Quote
Old February 14th, 2008, 03:39 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
Glad you got it sorted
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old June 9th, 2008, 02:37 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 254
Send a message via ICQ to dontom
Perfect - just was looking for this.
dontom is offline   Reply With Quote
Old June 9th, 2008, 08:15 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,691
Glad this helped have a good day and keep cool. It is 100 on the east coast today
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Albums Sort Order bdub Photopost Pro How Do I...? 1 May 8th, 2007 10:13 AM
Today's Ads - SORT ORDER oldengine Classifieds How do I...? 3 February 16th, 2007 04:45 PM
Sort Order problems AREA51 Photopost Pro How Do I...? 18 October 21st, 2006 05:27 PM


All times are GMT -5. The time now is 08:46 AM.

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