Real Estate Forums

REW IDX REW Customers only - ask questions, get support and report feed issues here.

Reply
 
Thread Tools Display Modes
  #1 snippets  
Old 12-02-2007, 09:24 AM
GreggRio's Avatar
GreggRio GreggRio is offline
Uber Real Estate Webmaster
 
Join Date: Apr 2007
Location: Santa Cruz,CA
Posts: 999
GreggRio is on a distinguished road
Default snippets

I need some snippets. Not sure where this shoul be. Need to have price and search snippets. Is there an area on the forum to find these pre done?

What I need is is- price range- area

What I have now is a button that gets a pre done search in a specific price range and area. We have about 8 price ranges per area.

Will be helpful to have zipcode search too.

Also any instructions on how and where to put code will be helpful.To see what we are doing go to http://www.propertyinsantacruz.com/soquel.php

thanks
__________________
Santa Cruz Real Estate|Capitola Real Estate| Aptos Real Estate 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 12-03-2007, 10:31 AM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 5,713
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: snippets

Hi Gregg,

To create snippets in the CMS - click on the @ symbol at the bottom left of the page. There you'll see on called #sample# . There are some instructions in that snippet. Looks like you have some already created there.

To do a zip code search put this line in a snippet
$_REQUEST['search_zip'] = '11111'; (where 11111 is the zip code)
To do multiple zip codes in one snippet they will need to have the square brackets.
$_REQUEST['search_zip'][] = '11111';

Price ranges are done like this:
$_REQUEST['maximum_price'] = "";
$_REQUEST['minimum_price'] = "";

Hope that clarifies a bit.
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 12-03-2007, 11:01 AM
GreggRio's Avatar
GreggRio GreggRio is offline
Uber Real Estate Webmaster
 
Join Date: Apr 2007
Location: Santa Cruz,CA
Posts: 999
GreggRio is on a distinguished road
Default Re: snippets

I looking at some of the city codes, for instance Rio Del Mar was a 52. I changed it to 48,which is the mls code. When I looked at Capitola it was 8. I did not change that but the correct city code would be 44.

Why are there numbers that are not the MLS city code, and did I screw up by changing the 52 to a 48?

Also was unclear why maximum was listed first and not second. Did that have no relevance to order?

So for a Rio Del Mar search, would I have it as

#rio-del-mar#,$_REQUEST['minimum_price'] = "", $_REQUEST['maximum_price'] = ""

to get Rio Del Mar, 600,000-800,000 search result?

Thanks
__________________
Santa Cruz Real Estate|Capitola Real Estate| Aptos Real Estate 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
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

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

REW Conference

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 10:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.