Real Estate Forums
| REW LEC If you are a current customer that has an REW LEC product (1,2,3 or 4) this section is for discussing the use of the product and common upgrades with other members. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
||||
|
Trying to do a search in said cities, $100-100M, including residential and condos only for the home page. Any ideas what is wrong with the code? It is showing income and land still. The city and price restrictions seem to be working okay though. I would appreciate any thoughts from the gallery
![]() LEC3 http://dev162.rewtemplates.com/ <?php // This is a sample IDX snippet. To use, copy this code and make a new snippet and paste the code into // it. Then add the snippet to your page by simply typing its name with pound signs (#) around it. // // Lines starting with // are comments and don't effect the code. // // Remove the // from the sections you wish to use and put the appropriate values in. // Snippet Settings $_REQUEST['snippet_title'] = 'Metro Denver Area Listings'; $_REQUEST['snippet_price_table'] = true; // Search City $_REQUEST['search_city'][] = 'boulder'; // Search City $_REQUEST['search_city'][] = 'arvada'; // Search City $_REQUEST['search_city'][] = 'aurora'; // Search City $_REQUEST['search_city'][] = 'brighton'; // Search City $_REQUEST['search_city'][] = 'broomfield'; // Search City $_REQUEST['search_city'][] = 'castle rock'; // Search City $_REQUEST['search_city'][] = 'centennial'; // Search City $_REQUEST['search_city'][] = 'conifer'; // Search City $_REQUEST['search_city'][] = 'commerce city'; // Search City $_REQUEST['search_city'][] = 'denver'; // Search City $_REQUEST['search_city'][] = 'englewood'; // Search City $_REQUEST['search_city'][] = 'erie'; // Search City $_REQUEST['search_city'][] = 'evergreen'; // Search City $_REQUEST['search_city'][] = 'firestone'; // Search City $_REQUEST['search_city'][] = 'frederick'; // Search City $_REQUEST['search_city'][] = 'golden'; // Search City $_REQUEST['search_city'][] = 'greenwood village'; // Search City $_REQUEST['search_city'][] = 'highlands ranch'; // Search City $_REQUEST['search_city'][] = 'lafayette'; // Search City $_REQUEST['search_city'][] = 'louisville'; // Search City $_REQUEST['search_city'][] = 'lakewood'; // Search City $_REQUEST['search_city'][] = 'littleton'; // Search City $_REQUEST['search_city'][] = 'lone tree'; // Search City $_REQUEST['search_city'][] = 'longmont'; // Search City $_REQUEST['search_city'][] = 'morrison'; // Search City $_REQUEST['search_city'][] = 'parker'; // Search City $_REQUEST['search_city'][] = 'superior'; // Search City $_REQUEST['search_city'][] = 'thornton'; // Search City $_REQUEST['search_city'][] = 'westminster'; // Search Subdivision //$_REQUEST['search_subdivision'][] = 'subdivision name'; // Search Zip Code //$_REQUEST['search_zip'][] = '90210'; // Search by MLS Number //$_REQUEST['search_mls'][] = '1337'; // Property Type $_REQUEST['idx'] = 'residential'; // Property Type $_REQUEST['idx'] = 'condominium'; // Price Range $_REQUEST['minimum_price'] = 100; $_REQUEST['maximum_price'] = 100000000; // Bedrooms //$_REQUEST['minimum_bedrooms'] = 0; //$_REQUEST['maximum_bedrooms'] = 0; // Bathrooms //$_REQUEST['minimum_bathrooms'] = 0; //$_REQUEST['maximum_bathrooms'] = 0; // Square Feet //$_REQUEST['minimum_sqft'] = 0; //$_REQUEST['maximum_sqft'] = 0; // Year Built //$_REQUEST['minimum_year'] = 0; //$_REQUEST['maximum_year'] = 0; // Acres //$_REQUEST['minimum_acres'] = 0; //$_REQUEST['maximum_acres'] = 0; // Page Limit //$_REQUEST['page_limit'] = 5; // Only this agent's listings //$_REQUEST['agent_id'] = ''; // Only this office's listings //$_REQUEST['office_id'] = ''; // DO NOT EDIT BELOW THIS LINE $_REQUEST['snippet'] = true; include $_SERVER['DOCUMENT_ROOT'] . '/idx/common.inc.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/idx/inc/php/pages/search.php'; ?> |
|
|||
|
Change this:
// Property Type $_REQUEST['idx'] = 'residential'; // Property Type $_REQUEST['idx'] = 'condominium'; to this: $_REQUEST['search_type'][] = "RES"; $_REQUEST['search_type'][] = "COND"; |
|
||||
|
Thanks Aaron, I'll give it a try!
|
|
||||
|
Thanks again Aaron it worked!
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Properties Snippet on home page | MarcinSarasota | REW CMS 2 Questions | 2 | 09-21-2009 02:00 PM |
| Enhancing Access to content on LEC2 | bnicolas | REW LEC | 2 | 08-06-2009 12:08 AM |
| #rss-reader# and top nav modification via snippet on LEC2 | bnicolas | REW LEC | 6 | 04-20-2009 11:02 PM |
| Google: Changes In Ranking Strategies | gonner | Real Estate and Google | 13 | 10-05-2007 04:11 AM |
| Content & Copyright Thieves | Phoenix | Real Estate Chat | 24 | 06-01-2005 06:11 PM |