Results 1 to 10 of 10

Thread: snippet code

  1. #1
    Join Date
    Oct 2006
    Location
    Brookline, NH
    Posts
    114

    Default snippet code

    What is the code I need to use for a snippet if I want to search for a particular road within a town?

    http://www.best-nh-homes-real-estate.com/

    <?php

    $_REQUEST['city'] = "Hillsborough_brookline";

    $_REQUEST['road'] = "main";

    $_REQUEST['price_min'] = "50000";

    $_REQUEST['price_max'] = "50000000";

    //do not edit below this line

    $_REQUEST['snippet_include'] = "true";

    include "idx/search.php";

    ?>

  2. #2
    Join Date
    Jun 2008
    Posts
    1,006

    Default Re: snippet code

    It doesn't look like you can search by road in a snippet, Jim. You'd need to post a Work Order to have this feature added.
    Andy
    Technical Support
    Real Estate Webmasters | Ordering New Work

  3. #3
    Join Date
    Oct 2006
    Location
    Brookline, NH
    Posts
    114

    Default Re: snippet code

    Where can I get a list of available "fields" for snippets on my website?

  4. #4
    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: snippet code

    zip
    county
    price_min
    price_max
    bedrooms_min
    bathrooms_min
    square_feet_min
    lot_min
    year
    wtrname
    wtraccbody
    water_body_type
    village
    office
    agent

    Any of the above lines can be placed into a snippet for example:

    $_REQUEST['price_max'] = "5000000";

    ( note for others - this is only for Jim's site )
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  5. #5
    Join Date
    Oct 2006
    Location
    Brookline, NH
    Posts
    114

  6. #6
    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: snippet code

    No - I don't think so. Seems like a good list to me - of course - like you already did - you asked for us to add more fields in a work order - Your site is one of the older ones as well - it hasn't had any updates to the IDX in quite some time as far as I know.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  7. #7
    Join Date
    Oct 2006
    Location
    Brookline, NH
    Posts
    114

  8. #8
    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: snippet code

    You just missed one - ended this week. Do you not get the promotion notification emails? If not let us know an email address that you'd like them sent to and we can get you on the list.

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

  9. #9
    Join Date
    Oct 2006
    Location
    Brookline, NH
    Posts
    114

  10. #10
    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: snippet code

    It ended on Wednesday. Here is the blog post:
    http://www.realestatewebmasters.com/...rey/8453/show/

    I'll get you added to the list for future promotions.

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

Similar Threads

  1. Snippet that searches by Zip Code
    By SCP in forum REW CMS 2 Questions
    Replies: 2
    Last Post: 03-17-2009, 06:11 AM
  2. Tweek Snippet Code For IDX
    By DMG in forum Coding
    Replies: 1
    Last Post: 11-04-2008, 03: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