Real Estate Forums
| REW IDX REW Customers only - ask questions, get support and report feed issues here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
I would like to create a snippet to pull just condos from a given area... I know how to specify areas and such but not sure how to specify the condos.
Also is there a way to pull specific condos..or would they need to be pulled directly by their address? For example..if i wanted a snippet that would pull Monarch condos (Monarch being the name of condos) is there a way to specify just those condos? |
|
|||
|
Hello,
It appears that the ABOR IDX feed does not currently have a field to search the condo name. You would need to use the "Street Name" field I believe. $_REQUEST['street_name'][] = "Monarch"; $_REQUEST['search_type'][] = "Condo Attached"; $_REQUEST['search_type'][] = "Condo Detached"; Would do the trick. I didn't test these out - so let me know how that works for you. |
|
|||
|
didnt seem to work-- i used a condo called "brown building", created the snippet for it,with the following
<?php $_REQUEST['street_name'][] = "brown building"; $_REQUEST['search_type'][] = "Condo Attached"; $_REQUEST['search_type'][] = "Condo Detached"; $_REQUEST['idx'] = 'residential'; $_REQUEST['minimum_price'] = 5000; $_REQUEST['maximum_price'] = 125000000; $_REQUEST['minimum_bedrooms'] = 1; $_REQUEST['minimum_bathrooms'] = 1; $_REQUEST['minimum_sqft'] = 400; $_REQUEST['minimum_year'] = 1900; // Do Not Edit Below Here $_REQUEST['snippet'] = true; include_once('idx/common.inc.php'); include 'idx/inc/php/pages/snippet.php'; ?> I placed this within our snippet test page and just got a great amount of links ..and no listings, I tried to update the snippet again with just the street name of where the condo is, and just recieved the same information when i checked the page. |
|
|||
|
Is there a street named "brown building" ? I think you'll need to put the name of the street the condo is on.
For the second issue with the list of links: Change this include 'idx/inc/php/pages/snippet.php'; to include 'idx/inc/php/pages/search.php'; |
|
|||
|
ok i will try that, however, when i put the street name before it didnt give me any better information...and i also foresee a problem if i am trying to differetiate variopus condos that share the same street..for insantance there are numerous condos on S.Congress, what would i need to include on the snippet to just bring the one address up.
|
|
|||
|
You could add the street number to the snippet like this:
$_REQUEST['street_number'][] = "345"; |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Snippet problem or ??? | Joshua Sloan | REW IDX | 4 | 04-21-2008 01:15 PM |
| Condo Snippet | Ryan Ward | REW CMS 1 Questions | 7 | 08-25-2007 09:37 AM |