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.

Reply
 
Thread Tools Display Modes
Old 10-01-2009, 08:10 PM
Brant Douglass's Avatar
Brant Douglass Brant Douglass is offline
REW Client
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 41
Brant Douglass is on a distinguished road
Default What does the peanut gallery think about this one? #IDX-snippet-content#

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';

?>
Reply With Quote
Old 10-02-2009, 09:59 AM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 14,969
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: What does the peanut gallery think about this one? #IDX-snippet-content#

Change this:

// Property Type
$_REQUEST['idx'] = 'residential';

// Property Type
$_REQUEST['idx'] = 'condominium';

to this:

$_REQUEST['search_type'][] = "RES";
$_REQUEST['search_type'][] = "COND";
__________________
Aaron
Programming

Real Estate Webmasters
Reply With Quote
Old 10-02-2009, 10:27 AM
Brant Douglass's Avatar
Brant Douglass Brant Douglass is offline
REW Client
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 41
Brant Douglass is on a distinguished road
Default Re: What does the peanut gallery think about this one? #IDX-snippet-content#

Thanks Aaron, I'll give it a try!
Reply With Quote
Old 10-02-2009, 11:33 AM
Brant Douglass's Avatar
Brant Douglass Brant Douglass is offline
REW Client
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 41
Brant Douglass is on a distinguished road
Default Re: What does the peanut gallery think about this one? #IDX-snippet-content#

Thanks again Aaron it worked!
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

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

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


Real Estate Webmasters on Facebook

For our members

Main Sections

IDX Coverage Areas

You can find us at

Spiders Welcome

All times are GMT -7. The time now is 07:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.