+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: 2 snippets

  1. #1
    Join Date
    Aug 2007
    Posts
    474

    Default 2 snippets

    I opened a request for snippets in a previous thread: http://www.realestatewebmasters.com/thread21695.html

    Can I have the syntax to display land, multi-family, etc?

    Thanks

  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
    24,278

    Default Re: 2 snippets

    In the snippets add:

    $_REQUEST['idx'] = "single-family";
    $_REQUEST['idx'] = "condo-townhome";
    $_REQUEST['idx'] = "land";
    $_REQUEST['idx'] = "multi-family";

    You can only do one of these at a time.

    Note for others reading this - these are specific to SCP's site.

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

  3. #3
    Join Date
    Aug 2007
    Posts
    474

    Default Re: 2 snippets

    Thanks Aaron, can I have condo-townhome separated into their own individual searches?

  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
    24,278

    Default Re: 2 snippets

    Quote Originally Posted by SCP View Post
    Thanks Aaron, can I have condo-townhome separated into their own individual searches?
    You mean have one search for condos - then another for townhomes?

    This block of code added to a snippet will do condos:

    $_REQUEST['search_subtype'][] = "CND1F";
    $_REQUEST['search_subtype'][] = "CND2F";
    $_REQUEST['search_subtype'][] = "CNDBS";
    $_REQUEST['search_subtype'][] = "CNDEU";
    $_REQUEST['search_subtype'][] = "CNDOT";

    Townhomes:

    $_REQUEST['search_subtype'][] = "TOWNH";
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  5. #5
    Join Date
    Aug 2007
    Posts
    474

    Default Re: 2 snippets

    Thank you Aaron.

  6. #6
    Join Date
    Aug 2007
    Posts
    474

    Default Re: 2 snippets

    Aaron - One last question. On the condo search, if I add this block in:

    $_REQUEST['search_subtype'][] = "CND1F";
    $_REQUEST['search_subtype'][] = "CND2F";
    $_REQUEST['search_subtype'][] = "CNDBS";
    $_REQUEST['search_subtype'][] = "CNDEU";
    $_REQUEST['search_subtype'][] = "CNDOT";

    It returns 0 results. If I break out each one, it does return results. It looks like when I add all of them at once it is acting like an "and" query. What would the syntax be for an "or" query of available condos?

  7. #7
    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: 2 snippets

    Hi Shane,

    There isn't a way to change it from the snippet - perhaps I can assist though ... I'll need you to give me an example of a snippet that you're trying this on. Please give me the name of the snippet and a link to the page that you've placed the snippet on.

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

  8. #8
    Join Date
    Aug 2007
    Posts
    474

    Default Re: 2 snippets

    Aaron - NVM - I figured it out..

    Question though, do i have the ability to display foreclosure in my current snippets?
    Last edited by SCP; 04-08-2009 at 10:54 AM.

  9. #9
    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: 2 snippets

    Quote Originally Posted by SCP View Post
    Question though, do i have the ability to display foreclosure in my current snippets?
    No - it doesn't seem so - Triangle Does have a field for it in the IDX feed - so with a small work order -we'd be able to set it up for you.

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

  10. #10
    Join Date
    Aug 2007
    Posts
    474

    Default Re: 2 snippets

    Looks like it is a Yes/No in the TMLS. Would that still require a WO?

    Also, is it possible to create a snippet that would search agent remarks?

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. How do I add the snippets?
    By iamleann in forum REW CMS 2 Questions
    Replies: 1
    Last Post: 02-19-2009, 12:44 PM
  2. Replies: 1
    Last Post: 02-04-2009, 09:03 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