+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15

Thread: Snippets, snippets who's got the snippets :)

  1. #11

    Default Re: Snippets, snippets who's got the snippets :)

    Okie dokie,

    Thanks for the heads up
    Panama City Homes for Sale, Panama City Real Estate and Panama City Beach Condos

    The Panama City Real Estate Team at Keller Williams Success Realty - Your source for Panama City real estate sales, services and information. For additional information on Panama City and Panama City Beach Real Estate, contact me or visit our website.

  2. #12
    Join Date
    Dec 2006
    Posts
    397

    Default Re: Snippets, snippets who's got the snippets :)

    Hey Aaron -

    I would like to get my hands on this same snippet and any available documentation on fields (for selects) and output options (# listings per page, etc.). After some playing around, I'll probably request some enhancements (billable) - can the snippet support a series of geocodes (like a polygon) for a search area?

    Can you help me out?

    Thanks!
    MJA
    PM me to explore contextual links!
    Reno Real Estate | Carson City Real Estate | Minden Real Estate

  3. #13
    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: Snippets, snippets who's got the snippets :)

    Hi Mitch,

    A programmer will set you up with a "sample" snippet that will have all the available fields you can use for the snippets.
    As far as the snippets supporting geocodes by default ... they do not - I'm sure that anything would be possible to set up in a snippet with some custom programming. I will check with the programmers on the polygon idea and get you a quote.

    EDIT: We'll send you a list of all the fields in the database - this is a 15 min project.


    Thank you,
    Last edited by Aaron; 10-17-2007 at 10:14 AM.
    Aaron
    Real Estate Webmasters ( Programming )
    Client Resources | Tutorials | Suggested Enhancements

  4. #14
    Join Date
    Aug 2006
    Location
    Nanaimo, BC
    Posts
    1,590

    Default Re: Snippets, snippets who's got the snippets :)

    Hello Mitch

    I have created a sample snippet for you. It is called #sample-snippet#

    Code:
    <?
    
    $_REQUEST['search_area'][] = '121';
    $_REQUEST['search_area'][] = '122';
    Attached is a list of the area codes and what area they are. You can also use the area groups from your search form:

    Reno
    Sparks
    Carson City
    Gardnerville/Minden
    Lake Tahoe
    Topaz Lake
    Dayton / Virginia City
    Fallon
    Fernley
    Lyon County
    Misc

    Code:
    $_REQUEST['search_zip'] = '12345,78945';
    Use this to search for zip codes. Separate multiple zip codes with commas.
    Code:
    $_REQUEST['search_mls'] = '111,222';
    Use this to search for MLS numbers.

    Code:
    $_REQUEST['idx'] = 'residential';
    $_REQUEST['subtype'][] = 's';
    idx is the main property type. Available options are:
    residential
    commercial
    farmorranch
    multi-family
    vacant-land
    lease-only

    subtype can only be used with residential. The options for it are:
    s = Single Family
    c = Condominium
    m = Manufactured Housing

    Code:
    $_REQUEST['minimum_price'] = '100000';
    $_REQUEST['maximum_price'] = '500000';
    
    $_REQUEST['minimum_bedrooms'] = '1';
    
    $_REQUEST['minimum_bathrooms'] = '1';
    
    $_REQUEST['minimum_half_bathrooms'] = '1';
    
    $_REQUEST['minimum_sqft'] = '1000';
    
    $_REQUEST['minimum_garage'] = '1';
    
    $_REQUEST['minimum_acres'] = '0.125';
    $_REQUEST['maximum_acres'] = '40';
    
    $_REQUEST['minimum_year'] = '1940';
    These ones are fairly self explanatory.

    Code:
    $_REQUEST['stories'] = 'Spl';
    How many stories. Can be 1, 2, 3, Spl, or Tri

    Code:
    $_REQUEST['horses'] = 'Yes';
    Horses OK? Yes or No

    Code:
    $_REQUEST['sort'] = 'ASC';
    Sort Order. ASC for low price first, DESC for high price first.

    Code:
    // Do not edit below here
    
    include $_SERVER['DOCUMENT_ROOT'].'/idx/pages/snippet.php';
    
    ?>
    You will need this part at the end to make it work.

    You can delete any of the $_REQUEST things that you do not want in a particular snippet.

    If you need any more help just let me know.
    Steven Barre
    Systems Administrator / Programmer
    Real Estate Webmasters
    Red Hat Certified Engineer | Zend Certified Engineer | Microsoft Certified Professional
    "To err is human... to really foul up requires the root password."

  5. #15
    Join Date
    Dec 2006
    Posts
    397

    Default Re: Snippets, snippets who's got the snippets :)

    Thanks a bunch!
    MJA
    PM me to explore contextual links!
    Reno Real Estate | Carson City Real Estate | Minden Real Estate

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Posting Permissions

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