+ Reply to Thread
Results 1 to 3 of 3

Thread: snippets

  1. #1
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,078

    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 Beach Homes || Carmel 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 to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

  2. #2
    Aaron is offline Real Estate Webmasters Staff Aaron's Most Recent Blog Entry: Email etiquette Aaron is on a distinguished road
    Join Date
    Jun 2005
    Location
    Nanaimo
    Posts
    23,433

    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
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  3. #3
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,078

    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 Beach Homes || Carmel 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 to Carmel and Pebble Beach Golf estates. Let my 30 years of local knowledge and 20 years of real estate help you find the right home or property in the Monterey Bay.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts