Real Estate Forums
| REW IDX REW Customers only - ask questions, get support and report feed issues here. |
![]() |
|
|
Thread Tools | Display Modes |
|
||||
|
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 |
|
||||
|
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 |
|
|||
|
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. |
|
||||
|
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 |
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|