+ Reply to Thread
Results 1 to 5 of 5

Thread: snippet or idx problem?

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

    Default snippet or idx problem?

    Using this snippet, I do not seem to be getting the sort order or page limitation recognized. Is there a snippet issue or an idx issue? Please advize.
    #95003#
    <?php

    $_REQUEST['search_zip'] = '95003';
    $_REQUEST['page_limit'] = "5";
    $_REQUEST['sort'] = "ASC"; // Lowest to highest
    include 'idx/common.inc.php';
    include 'idx/inc/php/pages/snippet.php';

    ?>
    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
    Join Date
    Jan 2008
    Location
    Shawnigan Lake, BC
    Posts
    675

    Default Re: snippet or idx problem?

    Greg, I have forwarded your request to programming.

  3. #3
    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: snippet or idx problem?

    Hi Gregg,

    I went to check out this issue with the sort order or page limitation. I noticed another issue. If you do not define the $_REQUEST['snippet_city'] variable in the snippet it'll show you a list of links. I've added

    $_REQUEST['snippet_city'] = "";

    to the snippet and this seems to have corrected the issue. The snippet shows 5 listings per page in ascending order.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  4. #4
    Join Date
    Apr 2007
    Location
    Santa Cruz,CA
    Posts
    2,080

    Default Re: snippet or idx problem?

    anything I should do?
    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.

  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: snippet or idx problem?

    Just make sure that when you create a snippet that you define $_REQUEST['snippet_city'] = ""; - should be about it
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

+ Reply to Thread

Similar Threads

  1. snippet help please
    By GreggRio in forum REW IDX
    Replies: 24
    Last Post: 07-07-2008, 10:11 AM
  2. Snippet problem?
    By thataway61 in forum REW IDX
    Replies: 2
    Last Post: 02-19-2008, 04:37 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