+ Reply to Thread
Results 1 to 5 of 5

Thread: Zip Code in snippet?

  1. #1
    Join Date
    Sep 2008
    Location
    Austin
    Posts
    36

    Default Zip Code in snippet?

    This South Austin Western Trails neighborhood snippet is pulling items from the western trails subdivision in north Austin.

    http://www.daviscompany.com/western-trails.php


    Is there a way to put a zip code criteria in addition to what is already on the snippet?
    What other ways would you suggest to write a snippet to avoid like-named neighborhoods coming up within a search?

  2. #2
    Join Date
    Sep 2008
    Location
    Nanaimo Bc Canada
    Posts
    2,714

    Default Re: Zip Code in snippet?

    Hey Marc Zuazua,
    Iv placed this into the Tracker. We will let you know shortly.

  3. #3
    Join Date
    May 2008
    Posts
    1,170

    Default Re: Zip Code in snippet?

    Hi Marc,
    Yes, you can add this code
    $_REQUEST['search_zip][] = 'xxxxx';
    Obviously replacing the 'xxxxx' with the zipcode you want. If there are several, just add another line for each.
    Vera

  4. #4
    Join Date
    May 2008
    Posts
    1,170

    Default Re: Zip Code in snippet?

    If South Austin is a city, you could also use:
    $_REQUEST['search_city'] = 'xxxxx';
    instead of the zip code or

    $_REQUEST['search_area'] = 'xxxxx';
    if it's an area rather than a city.

  5. #5
    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
    24,278

    Default Re: Zip Code in snippet?

    Quote Originally Posted by REW Vera View Post
    Hi Marc,
    Yes, you can add this code
    $_REQUEST['search_zip][] = 'xxxxx';
    Obviously replacing the 'xxxxx' with the zipcode you want. If there are several, just add another line for each.
    Vera
    Correction on this - to do multiple zip codes you would need to do this:

    $_REQUEST['search_zip] = "zip1,zip2,zip3";

    Where each zip code is separated with a comma.

    Thank you,
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

+ Reply to Thread

Similar Threads

  1. Tweek Snippet Code For IDX
    By DMG in forum Coding
    Replies: 1
    Last Post: 11-04-2008, 02:57 PM

Posting Permissions

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