Support Forums

Listings Order & Remove Sorting

This is a discussion on Listings Order & Remove Sorting within the Technical Support forums, part of the Technical Support Forums category; 68C - Version 4 Which files do I edit to change the way listings are sorted.(When browsing categories) Ideally Id ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 02-09-2009, 12:53 AM   #1
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 21
Greg H is on a distinguished road
Default Listings Order & Remove Sorting

68C- Version 4

Which files do I edit to change the way listings are sorted.(When browsing categories)

Ideally Id like to be able to place listings in the order i want and to remove the ability for users to sort listings.
Ive been trying to do this in showlistings.tpl but not having much luck.

Note: The site is setup as a catalogue, and I am the only one placing listings, so I just need the ability to put products in the order I want when adding them.

Any pointers on the best way to achieve this ?

Thanks
Greg
__________________
Greg

Version 3.1.9 and 4.0.3 Developer
Greg H is offline  
Old 02-09-2009, 09:14 AM   #2
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by Greg H View Post
68C- Version 4
Version 4 what?

Some hefty differences between 4.0.9 and 4.1.

Saying you have version 4 is like walking into tha auto parts store and asking for an alternator for a chevy.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 02-09-2009, 09:32 AM   #3
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

This is relatively straightforward to do in 4.0X with a few edits if you have developer version. Can you please be specific what the ordering will be.

I presume you wish to do something like always show latest/feaured lsitings in date order only and normal showlistings from categories/searches in price order? As in our SEO templates.

If you wish to do that or something similar then you can PM me I will give you the appropriate directions as it requires a duplicate of showlistings.tpl , a modified version it and a few other code changes. Too much to put here.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now  
Old 02-09-2009, 05:32 PM   #4
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 21
Greg H is on a distinguished road
Default

Im using v4.0.3 Developer

I think ordering by date only would be perfect, that way I can make listings appear in any order I want by changing the "Date Added" I have no need at all for any featured sorting.

Thanks


Quote:
Originally Posted by Lhotch View Post
Version 4 what?

Some hefty differences between 4.0.9 and 4.1.

Saying you have version 4 is like walking into tha auto parts store and asking for an alternator for a chevy.
__________________
Greg

Version 3.1.9 and 4.0.3 Developer

Last edited by Greg H; 02-09-2009 at 05:36 PM.
Greg H is offline  
Old 02-09-2009, 06:35 PM   #5
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

First of all, you really should upgrade to version 4.09. Be clear what you wish to do. Do you always want it to be date ordered (last in at the top for example) so that no sorting is possible or do you want to be able to sort by date still but no other variable.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now  
Old 02-09-2009, 07:26 PM   #6
Senior Member
 
Join Date: Jul 2007
Posts: 109
Rep Power: 21
Greg H is on a distinguished road
Default

Quote:
Originally Posted by seymourjames View Post
First of all, you really should upgrade to version 4.09. Be clear what you wish to do. Do you always want it to be date ordered (last in at the top for example) so that no sorting is possible or do you want to be able to sort by date still but no other variable.
Yes, I always want it to be date ordered. That way it allows me (as admin) to have listings in any order I want by changing the date added for each listing. I want NO sorting available at all to users. The site only has about 35 listings and that wont change much. The important thing for me is to have the ability to make the listings ordered how I want, and to disable any sorting for the user.

Id prefer to not upgrade at this stage.


Thanks again for your advice.
__________________
Greg

Version 3.1.9 and 4.0.3 Developer
Greg H is offline  
Old 02-09-2009, 07:42 PM   #7
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,528
Rep Power: 89
seymourjames is a jewel in the rough
Default

PM me your email and I will send you the file. The user will not be able to sort but you will still be able to change the order using the admin control panel.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C
seymourjames is online now  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting listing philoo Technical Support 18 08-29-2009 07:15 PM
Remove details from listings bowers01 Technical Support 3 06-11-2008 10:17 AM


All times are GMT -4. The time now is 05:25 AM.


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