
johnshiel
Novice
Nov 26, 2007, 4:07 AM
Post #1 of 10
(6601 views)
Shortcut
|
|
Sort Listings by Listee Priority
|
Can't Post
|
|
Hi Everyone! There may be a couple of solutions to this problem - I'll take any of them! My customer lists timeshare properties owned by a variety of customers. These customers list their own properties and each has their own homepage. She wants to assign a 'priority' hfield to each customer. In this case, hfield6 is defined as priority A, B or C. Naturally, her customers shouldn't be able to re-modify their priority themselves, so I have disabled her customer's ability to modify their homepage entirely (don't knock it, it does the job!) What I want to do now is apply a listings search based upon this new hfield$ field. I am aware that a search mixing hfield$ and lfield$ is not yet possible with Listings Manager, but can I merely display Listings (NOT, I repeat, NOT homepages) in hfield6 priority order? e.g. say hfield6 is defined as priority A, B, or C - how can I show the As listings first, Bs listings next and the Cs listings last? As an encore, can these be subdivided by lfield? Again, I know that we can't mix lfield and hfield in a search, but is there a script which lets you sift and select by an lfield, then subsequently sorts those results by hfield? Furthermore, thanks to your forums info I know about search_homepage.cgi and have made it work for sorting through homepages. But that is NOT what I want to do here - I want LISTINGS sorted by the priority assigned to the listee. I hope you can help, even if it is only to tell me it is impossible! (If it IS impossible, I have a different strategy based upon selective display of backend items which I'll need help on, but that's for another time..!) Thanks a million, John
|