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 > ReviewPost Pro Support Forums > ReviewPost How do I...?

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

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 14th, 2006, 02:18 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
Changing default sort order of showcat.php

One thing I can't find in the 3.32 version is the place to change the default sort of the showcat.php page. In 3.11, it was a simple line of

if ( empty($sort) ) $sortparam = 8;

I tried changing line 201 to:

$sortparam = ( isset($catsortorder) && $catsortorder > 0 ? $catsortorder : 8 );

but that doesn't seem to work. How can I get the default setting to display sorted on number 8? Thanks.
ace67 is offline   Reply With Quote
Old October 14th, 2006, 02:51 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
You define a categories default sort order in admin => edit categories
__________________
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 October 14th, 2006, 05:03 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
That's not what I mean. Maybe I'm asking the question wrong. I want to set a different default to the menubar item that says "Sort By" and gives you a drop down list of the choices like Most Active, Most Recent, etc. I want to set it to $sortid = 8 on all categories.

This is not an admin => edit categories option. You can only set top level categories order in admin => edit categories.
ace67 is offline   Reply With Quote
Old October 14th, 2006, 05:10 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Yes it is.

If your default sort order is sort 8 for the categories that is the one that appears when viewing the category
__________________
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 October 14th, 2006, 06:41 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
I found what I was looking for in the database. In rp_categories, it's the column named sortorder. Changing that to 8 did what I wanted. I did not see a way to do that in the edit categories admin section.

That's not something new in there that didn't take when I upgraded, is it? I see where I can order the display of the top level categories. I see where I can click on "sort subcats" and order the display of the subcats but no way to order the contents of the subcats themselves, which is what I wanted to do.

I was only able to find the value stored in rp_categories in the database. So I managed to change it but wondered if there was an easier way to change it that I didn't find.
ace67 is offline   Reply With Quote
Old October 14th, 2006, 09:22 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Right in edit categories I dont see how you missed it

Default Sort Order*:
__________________
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 October 15th, 2006, 09:53 AM   #7 (permalink)
Member
Verified Customer
 
Join Date: Oct 2005
Location: Maryland
Posts: 85
I guess I missed it since it isn't there.

Here's what one line in edit categories shows to me:

WALT DISNEY WORLD DINING (Order: [Delete] [Add Subcat] [Edit] [Empty] [Sort Subcats] [Moderators]

That's all that's there. So what update does that indicate that I'm missing now?
ace67 is offline   Reply With Quote
Old October 15th, 2006, 10:08 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
You need to edit the category.
__________________
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 3rd, 2008, 04:26 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: Oct 2007
Posts: 8
Quote:
Originally Posted by Chuck S View Post
You need to edit the category.
ok, in
admin => edit categories, Default Sort Order*:

but there is not Sort by "VOTES"

how do I do this?
thanks
pompaunpo is offline   Reply With Quote
Old February 3rd, 2008, 05:07 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Thats because there is not sort by votes as there is no voting system. You can rate a product and in that regard you want to select the sort to be MOST POPULAR.
__________________
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
Default sort order for Member Galleries? KristalN Photopost Pro How Do I...? 3 September 26th, 2006 10:12 AM
Homepage default sort order is views daxter Classifieds How do I...? 10 July 22nd, 2006 05:38 PM
Default sort order for search Ginslinger ReviewPost How do I...? 1 April 12th, 2006 12:00 PM
RP311 - ShowCat Sort Order InterFX ReviewPost How do I...? 4 November 7th, 2005 04:41 AM
Changing default "Sort By" defaults in ShowGallery.php nimzie Photopost Pro How Do I...? 2 March 14th, 2005 07:38 AM


All times are GMT -5. The time now is 03:18 PM.

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