Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager Add-ons:
searching sort order with ssi

 

 


michaelpearce
New User

Oct 8, 2005, 6:26 AM

Post #1 of 2 (1732 views)
Shortcut
searching sort order with ssi Can't Post

hi

i am trying to get an ssi working on my project - that takes the listing results and puts them into date order. I understand the syntax but cannot fathom the logic of the numbers after the sort order. (...._search_results.html&sort_order=1,123,forward) I have read posts where the first numer is a minus number eg -11

in my project my lfield that contains the date is 6, does this have any bearing on the numbers?

with kind regards

Michael


(This post was edited by michaelpearce on Oct 8, 2005, 6:27 AM)


ross
Staff / Moderator


Oct 8, 2005, 4:28 PM

Post #2 of 2 (1727 views)
Shortcut
Re: [michaelpearce] searching sort order with ssi [In reply to] Can't Post

Hi again Michael.

Thanks for this post as well Smile.

The field we usually do date sorting on is an internal field that doesn’t actually get set by the user. This makes the sorting much more accurate as not all of you clients will use the same format for storing the date.

To access this internal date field for sorting your results you’ll need to use field -11. It would look like this in an SSI:


Code
<!--#include virtual=”/cgi-bin/listman/exec/search.cgi?search=1&template=_sorted_results.html&sort_order=-11,123,forward”  -->


Does that make sense? Give it a shot and let me know how you make out Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com


Hire me!
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.



 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4