+ Reply to Thread
Results 1 to 7 of 7

Thread: IDX Search problem

  1. #1

    Default IDX Search problem

    I created a few new snippets from the sample, and I noticed a few problems with not only the snippets but also the idx main search:

    prop_type: MUL - Multi units do not show up in the list displays for any search either the snippets or the main search:

    example: MLS# 375552 does not show up for residential search, commercial or multi-unit search.

    Please verify and repair

    Thanks

  2. #2
    Aaron is online now 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,434

    Default Re: IDX Search problem

    Hi Jessie,

    I just did a search by mls # on the main search page and that listing does come up.
    The "prop_type: MUL" are in the "Dup/Tri/Quad Multi Unit" type selection from the search page.
    If this is still an issue - can you please clarify.

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

  3. #3

    Default Re: IDX Search problem

    Quote Originally Posted by Aaron View Post
    Hi Jessie,

    I just did a search by mls # on the main search page and that listing does come up.
    The "prop_type: MUL" are in the "Dup/Tri/Quad Multi Unit" type selection from the search page.
    If this is still an issue - can you please clarify.

    Thank you,
    Yes, it shows up if search by mls # but not if you select "multi" then search (without the mls#), same thing happens in the snippet.

  4. #4
    Aaron is online now 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,434

    Default Re: IDX Search problem

    Strange - I did a search from here http://www.jennifermackay.com/idx/ selecting only the "Dup/Tri/Quad Multi Unit" property type - then hitting search then went to the very last page of the results and the listing is the last one.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  5. #5

    Default Re: IDX Search problem

    Hmm, it works now for me also. The snippet is still not showing result though.

    Here's the snippet code (snippet: multiunitunder100 actually none of the snippets for prop_type MUL work):

    <?php
    $_REQUEST['snippet_include'] = true;
    $_REQUEST['price_max'] = "100000";

    $_REQUEST['city'][] = "Panama City";
    $_REQUEST['city'][] = "Callaway";
    $_REQUEST['city'][] = "Cedar Grove";
    $_REQUEST['city'][] = "Chipley";
    $_REQUEST['city'][] = "Ebro";
    $_REQUEST['city'][] = "Fountain";
    $_REQUEST['city'][] = "Freeport";
    $_REQUEST['city'][] = "Hiland Park";
    $_REQUEST['city'][] = "Lake Merial";
    $_REQUEST['city'][] = "Lynn Haven";
    $_REQUEST['city'][] = "Panama City Beach";
    $_REQUEST['city'][] = "Parker";
    $_REQUEST['city'][] = "Southport";
    $_REQUEST['city'][] = "Springfield";
    $_REQUEST['city'][] = "Unincorporated";
    $_REQUEST['city'][] = "Wausau";
    $_REQUEST['city'][] = "Youngstown";

    $_REQUEST['prop_type'] = "MUL";

    //ASF = ASF/Attached Individual Unit
    //CND = Condominium
    //DSF = Detached Single Family
    //FRM = Farm
    //MOB = Mobile/Manufactured
    //MUL = Dup/Tri/Quad Multi Unit

    //To limit by bedrooms or bathrooms

    //Code:
    //$_REQUEST['bedrooms'] = "2";
    //$_REQUEST['bathrooms'] = "2";

    include $_SERVER['DOCUMENT_ROOT'] . "/idx/search.php";
    ?>

  6. #6
    Aaron is online now 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,434

    Default Re: IDX Search problem

    $_REQUEST['prop_type'] = "MUL";

    Should be

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

  7. #7

    Default Re: IDX Search problem

    Ok figured it out:

    Needs a space: "MUL "
    Last edited by jessiesc; 12-03-2007 at 09:12 PM.

+ 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