Real Estate Forums

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

Reply
 
Thread Tools Display Modes
Old 09-18-2007, 02:14 PM
ChrisL's Avatar
ChrisL ChrisL is offline
Real Estate WebMaster
 
Join Date: Aug 2007
Location: Jacksonville, FL
Posts: 109
ChrisL is on a distinguished road
Default snippet search by zip code

Is it possible to create snippets that search by zip code?

What is the syntax?
__________________
Chris LaBarbera
Re/Max Atlantic
Jacksonville, FL

Jacksonville Florida Real Estate
Jacksonville Florida Relocation
Jacksonville Florida has great beaches
Reply With Quote
Old 09-18-2007, 05:29 PM
ChrisL's Avatar
ChrisL ChrisL is offline
Real Estate WebMaster
 
Join Date: Aug 2007
Location: Jacksonville, FL
Posts: 109
ChrisL is on a distinguished road
Default Re: snippet search year built

Can I also do snippets by year built?

I want to target some historic homes that were built in the 1920s and 1930's


what would be ideal in a snippet for me


max_year_built
min_year_built

If this exists already, please tell me how to map to it in a snippet
__________________
Chris LaBarbera
Re/Max Atlantic
Jacksonville, FL

Jacksonville Florida Real Estate
Jacksonville Florida Relocation
Jacksonville Florida has great beaches
Reply With Quote
Old 09-18-2007, 06:37 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 5,897
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: snippet search by zip code

Zip code should be

$_REQUEST['search_zip'];

Year Built -

$_REQUEST['minimum_year'];
$_REQUEST['maximum_year'];

These "should" work - I didn't test them on your site - but in theory they should work.
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 09-18-2007, 07:54 PM
ChrisL's Avatar
ChrisL ChrisL is offline
Real Estate WebMaster
 
Join Date: Aug 2007
Location: Jacksonville, FL
Posts: 109
ChrisL is on a distinguished road
Default Re: snippet search by zip code

no luck on the ZIP snippet

Here is my snippet:

<?php

$_REQUEST['snippet'] = true;
$_REQUEST['page_limit'] = 10;
$_REQUEST['minimum_price'] = '';
$_REQUEST['maximum_price'] = '410000';
$_REQUEST['search_zip']='32223';


$_REQUEST['idx'] = 'residential';

include_once $_SERVER["DOCUMENT_ROOT"]."/idx/common.inc.php";
include_once $_SERVER["DOCUMENT_ROOT"]."/idx/pages/snippet.php";

?>

Here is the page with the results:
http://www.sunshinestatesales.com/zip.php

it does not trigger the zip code
__________________
Chris LaBarbera
Re/Max Atlantic
Jacksonville, FL

Jacksonville Florida Real Estate
Jacksonville Florida Relocation
Jacksonville Florida has great beaches
Reply With Quote
Old 09-18-2007, 08:04 PM
ChrisL's Avatar
ChrisL ChrisL is offline
Real Estate WebMaster
 
Join Date: Aug 2007
Location: Jacksonville, FL
Posts: 109
ChrisL is on a distinguished road
Default Re: snippet search by zip code

nevermind, the zip code is working....I was missing the ''

$_REQUEST['search_zip']='32205'; works fine
__________________
Chris LaBarbera
Re/Max Atlantic
Jacksonville, FL

Jacksonville Florida Real Estate
Jacksonville Florida Relocation
Jacksonville Florida has great beaches
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

REW Conference

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 09:07 AM.


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