Real Estate Forums

REW IDX REW Customers only - ask questions, get support and report feed issues here.

Reply
 
Thread Tools Search this Thread Display Modes
Old 06-17-2008, 05:19 PM
Peski Peski is offline
New real estate webmaster
 
Join Date: May 2008
Posts: 17
Peski is on a distinguished road
Default Search snippets for subdivisions of cities

Hi all, I'm new to this forum - thanks in advance for the help.

I'm trying to set up searches for various subdivisions within a city.

Code that seems to work (if agent entered correct data in MLS) is like this:
$_REQUEST['snippet_city'][] = 'RSM';
$_REQUEST['search_tract'] = 'Walden';
$_REQUEST['snippet_title'] = 'Walden Homes';
This will return only listings from the Walden tract.

There are a couple other things I want to do:

Return only listings from an "area" such as "DC" area of city "RSM".
Return listings from multiple tracts.
Ruturn only listing based on a list of multiple street names.

Can anyone help with the syntax for these? A list of valid pre-defined search terms like ['snippet_city'] would be awesome.

Regards,
Reply With Quote
Old 06-17-2008, 05:23 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 7,524
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: Search snippets for subdivisions of cities

Hi Peski,

Welcome to the forum! Could you please post a link to your site?
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 06-17-2008, 06:56 PM
Peski Peski is offline
New real estate webmaster
 
Join Date: May 2008
Posts: 17
Peski is on a distinguished road
Default Re: Search snippets for subdivisions of cities

Hi Duncan,

Here's the link to the dev site:

http://dev128.rewtemplates.com/

I actually got the "area" question sorted out with Duncan.

I'm still curious about a selection for multiple values, like including two tracts in the search.

Thanks
Reply With Quote
Old 06-17-2008, 07:11 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 13,734
webmaster will become famous soon enough
Default Re: Search snippets for subdivisions of cities

actually even better Paul, so you don't have to keep doing it, if you could put your name / website in your signature (User CP top navigation of the forums) then the staff won't continually ask you who you are

Diving right in on the IDX side of things, very impressive
__________________
Want to save up to 50% off Real estate webmasters product websites & common upgrades? Check out my latest blog post regarding our end of the year sale.
Reply With Quote
Old 06-17-2008, 07:12 PM
webmaster's Avatar
webmaster webmaster is offline
Administrator
 
Join Date: Apr 2004
Posts: 13,734
webmaster will become famous soon enough
Default Re: Search snippets for subdivisions of cities

Btw, you are probably planning on doing this already, but I really suggest pairing down that list of cities in the /idx/ you only service a small portion of those areas right? Coto Da Caza etc?
__________________
Want to save up to 50% off Real estate webmasters product websites & common upgrades? Check out my latest blog post regarding our end of the year sale.
Reply With Quote
Old 06-17-2008, 11:39 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 7,524
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: Search snippets for subdivisions of cities

Quote:
I'm still curious about a selection for multiple values, like including two tracts in the search.
You should be able to add 2 square brackets to the end "most" of the snippet variables. So assuming that the variable is $_REQUEST['search_tract']

You would do:

$_REQUEST['search_tract'][] = 'Track 1';
$_REQUEST['search_tract'][] = 'Track 2';
$_REQUEST['search_tract'][] = 'Track 3';
and so on ...
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 06-18-2008, 08:17 AM
Peski Peski is offline
New real estate webmaster
 
Join Date: May 2008
Posts: 17
Peski is on a distinguished road
Default Re: Search snippets for subdivisions of cities

Thanks Aaron, that works perfectly.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on search snippets RonnieG REW IDX 1 04-11-2008 12:25 PM
Too many cities to search Jake Ralston Work Orders 3 02-13-2008 03:40 PM
Snippets IDX search ColoradoHomeFinder REW IDX 10 01-29-2008 07:18 PM
I'm beginning the search engine process itgl72 Real Estate and Google 9 04-08-2007 05:45 PM



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 03:01 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.