Real Estate Forums
| REW IDX REW Customers only - ask questions, get support and report feed issues here. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
||||
|
I am not sure which will be the one to use for a subdivision search.. Before I screw things up,could you let me know. I want to be able to search an (area 45) area called Pleasure Point. It is an area that some may have as a subdivision. Not sure what the full snippet should be.Thanks
//$_REQUEST['search_sub'] = "Pleasure Point"; $_REQUEST['search_subdivision'][] = 'sub 1';
__________________
Santa Cruz Beach Homes|Capitola Real Estate| Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in Santa Cruz. Last edited by GreggRio; 06-14-2008 at 08:15 PM. |
|
|||
|
Gregg,
You could use $_REQUEST['snippet_subdivision'] = "Pleasure Point"; if you want a "like" search (in other words, you don't have the exact name), or $_REQUEST['search_subdivision'] = "Pleasure Point"; if you're looking for an exact match. However, I took a look at the database and didn't find any listings that had Pleasure Point in the subdivision field, so it may be a moot point for that particular area. May work for others, however. Vera |
|
||||
|
Quote:
Would one still have the city search and area search in that? We do have others that people recognize( agents that is) who put them in.Pasatiempo is probably one.
__________________
Santa Cruz Beach Homes|Capitola Real Estate| Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in Santa Cruz. |
|
|||
|
Just keep in mind that these are "AND" searches. That is, if you put in a $_REQUEST['city'] and a $_REQUEST['search_subdivision'] they would have to both be true in order for the listing to be found. OR searches are not available, unless they are custom programmed in.
Vera |
|
||||
|
So would I do something like this
<?php $_REQUEST['snippet_subdivision'] = "Pleasure Point"; Woud this get me the Pleasure Point or things that say one or the other for class 1 and 2 with the page sort? So for others what is the difference ( meaning) or the search sub and the ['search_subdivision'][] = 'Pleasure Point';- with the brackets and the full written out portion of subdivision versus search_sub Thanks, want something to work and want to understand what gets me what. <?php $_REQUEST['snippet_subdivision'] = "Pleasure Point"; $_REQUEST['page_limit'] = "5"; $_REQUEST['sort'] = "ASC"; // Lowest to highest $_REQUEST['prop_type'][] = '1'; $_REQUEST['prop_type'][] = '2'; include 'idx/common.inc.php'; include 'idx/inc/php/pages/snippet.php'; ?>
__________________
Santa Cruz Beach Homes|Capitola Real Estate| Aptos Beach Homes Santa Cruz is a vibrant community, located on the north end of Monterey Bay, and is home to artisans, beach goers, hi tech types, and college students. There is plenty of natural beauty from the ocean side coastal towns to the little mountain communities. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in Santa Cruz. |
|
|||
|
Gregg,
That should work as long as the listings have "Pleasure Point" in their subdivision field. If not, they won't be selected. The reason to use 'search_subdivision' is that it's what is defined as a field in the code. Search_sub is not, so it won't work. Vera |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| snippet help please | GreggRio | REW IDX | 24 | 07-07-2008 11:11 AM |