Real Estate Forums

REW CMS 2 Questions CMS 2 support - 'How do I' questions when using the content management system included in the V 2.0 REW platform. If this is not related to the CMS portion of the backend please choose a different customer support forum.

Reply
 
Thread Tools Display Modes
Old 11-14-2008, 11:56 PM
toddcov's Avatar
toddcov toddcov is offline
Real Estate WebMaster
 
Join Date: Nov 2008
Posts: 116
toddcov is on a distinguished road
Default Snippets - minimum price

Can someone let me know how to set the minimum price. I tried the below code add I just couldn't get it to work. For some reason it is still displaying all the listings under the 1000000 price. I want to use this as my luxury properties page. Thanks, Todd.

Page I'm trying to get results on:
http://dev14.rewtemplates.com/luxury-properties.php

Snippet:
#luxury-properties#

Code I used:

<?php

/* Snippet Settings */
$_REQUEST['snippet_title'] = 'Luxury Properties';
$_REQUEST['snippet_price_table'] = true;

/* Search City */
//$_REQUEST['search_city'][] = "City Name";

/* Search Subdivision */
//$_REQUEST['search_subdivision'][] = 'subdivision name';

/* Search Zip Code */
//$_REQUEST['search_zip'][] = '';

/* Search by MLS Number */
//$_REQUEST['search_mls'][] = '';

/* Property Type */
// Beaufort Property Types
// residential
// commercial
// land
$_REQUEST['idx'] = 'residential';

/* Price Range */
$_REQUEST['minimum_price'] = 1000000;
$_REQUEST['maximum_price'] = 10000000;

/* 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'] = 20;

/** 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 11-17-2008, 10:32 AM
REW Vera REW Vera is offline
Real Estate Webmasters Staff
 
Join Date: May 2008
Posts: 522
REW Vera is on a distinguished road
Default Re: Snippets - minimum price

Hmm. That should work. We'll look into it and let you know when it's fixed.
Vera
Reply With Quote
Old 11-18-2008, 02:29 PM
GreggRio's Avatar
GreggRio GreggRio is offline
REW Client
 
Join Date: Apr 2007
Location: Santa Cruz,CA
Posts: 1,258
GreggRio is on a distinguished road
Default Re: Snippets - minimum price

Vera I had the same issue and don't think it ever got addressed, could you check the queue for me on that one as well. It had to do with minimum and max prices not seeming to work and the resulting table still displaying the price range. Thanks Gregg
__________________
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.
Reply With Quote
Old 11-18-2008, 02:46 PM
Aaron Aaron is online now
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 8,411
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: Snippets - minimum price

Quote:
Originally Posted by GreggRio View Post
Vera I had the same issue and don't think it ever got addressed, could you check the queue for me on that one as well. It had to do with minimum and max prices not seeming to work and the resulting table still displaying the price range. Thanks Gregg
Gregg,

Setting the minimum and max prices will not effect the price range tables. They are hardcoded and will continue to show no matter what you set the min and max prices to. Here is the thread where I mention this http://www.realestatewebmasters.com/...ad.php?t=29921
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 11-18-2008, 02:55 PM
Aaron Aaron is online now
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 8,411
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: Snippets - minimum price

Hi Todd,

It seems to be working now. It's now this page: http://www.lowcountryproperties.com/...properties.php

All the listings I can see are over the $1,000,000 min price that you have set.

Let us know if you are still noticing this issue.

Thank you,


Quote:
Originally Posted by toddcov View Post
Can someone let me know how to set the minimum price. I tried the below code add I just couldn't get it to work. For some reason it is still displaying all the listings under the 1000000 price. I want to use this as my luxury properties page. Thanks, Todd.

Page I'm trying to get results on:
http://dev14.rewtemplates.com/luxury-properties.php

Snippet:
#luxury-properties#
__________________
Aaron
Programming
Real Estate Webmasters
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

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 11:35 AM.


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