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

Thread: Couple snippet questions

  1. #1
    Join Date
    Nov 2005
    Location
    NC
    Posts
    431

    Default Couple snippet questions

    Hey Guys,

    Is there a way to eliminate the price range links and map from a snippet? When using a snippet to isolate a single subdivision with similar properties, there is really no need for the price ranges and map. Many of the price ranges will yield No Results. Here is an example: http://www.charlottencbuyersagent.co...antyne-bcc.php

    Also, is there a way to manipulate the price range links in a snippet? For example, on http://www.charlottencbuyersagent.co...eal-Estate.php we would like to have specific price range links such as 1,000,000-1,250,000 1,250,000-1,500,000 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: Couple snippet questions

    Hi Tim,

    Sorry I missed this one Friday... Anyways.. As I mentioned in the other thread that first bit would be cool to just remove the price ranges if there was not any listings there. - and also could be able to have the ability to decide if you want it on a certain page. Should be about a 1/2 project.

    The price ranges are globally set - in the snippets. However if you would like just a few custom ones - you could create custom pages with snippets on them that have the desired price ranges.

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

  3. #3
    Join Date
    Nov 2005
    Location
    NC
    Posts
    431

    Default Re: Couple snippet questions

    Hey Aaron,
    Anything on the other snippets I sent via email. Thx!

  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: Couple snippet questions

    Hi Tim,

    Sorry for the delay - Email on the way.



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

  5. #5
    Join Date
    Nov 2007
    Location
    Sevierville, TN.
    Posts
    95

    Default Re: Couple snippet questions

    I too would like to create a Luxury Properties page and Morgan mentioned using the standard city snippets, and just editing the price ranges. How do I edit the price ranges in the snippets?
    Quote Originally Posted by Aaron View Post
    Hi Tim,

    Sorry I missed this one Friday... Anyways.. As I mentioned in the other thread that first bit would be cool to just remove the price ranges if there was not any listings there. - and also could be able to have the ability to decide if you want it on a certain page. Should be about a 1/2 project.

    The price ranges are globally set - in the snippets. However if you would like just a few custom ones - you could create custom pages with snippets on them that have the desired price ranges.

    Thank you,
    Patrick Malone
    RE/MAX All Pro REALTORS
    Gatlinburg Real Estate Agent
    Gatlinburg Homes

  6. #6
    Join Date
    Aug 2007
    Posts
    474

    Default Re: Couple snippet questions

    I am going reply based on the assumption you are new to snippets.

    Enter you CMS page and click on the "c" symbol in the lower left hand corner. It looks like a copyright symbol. This is the snippet editor.

    Under "Snippets" section there should be a list of default snippets. One should be labeled "city-snippet". Click the "Edit" button on the right next to this snippet. What I do is select all the text by hitting Ctrl+A on my keyboard and then hit Ctrl+C. Select the back error on my browser and click on the text box in "Snippet Code". Then click Ctrl+V. Now edit the information you want displayed, like city name, number of results shown on the page, etc. When you are done, give the snippet a meaningful name, and click "add".

  7. #7
    Join Date
    Nov 2007
    Location
    Sevierville, TN.
    Posts
    95

    Default Re: Couple snippet questions

    Thanks for your reply SCP. I do have some limited exposure to the snippets, i.e. changes to the cities to my area, but thats about it so far. What I see in my snippets is as follows:

    <?php

    $_REQUEST['idx'] = 'residential';

    $_REQUEST['snippet_city'] = 'Gatlinburg';

    require_once $_SERVER['DOCUMENT_ROOT'].'/idx/inc/php/pages/snippet.php';

    ?>

    where would you put price ranges to return, number of results shown etc?
    Thanks for any help
    Patrick Malone
    RE/MAX All Pro REALTORS
    Gatlinburg Real Estate Agent
    Gatlinburg Homes

  8. #8
    Join Date
    Aug 2007
    Posts
    474

    Default Re: Couple snippet questions

    Under the line:

    $_REQUEST['snippet_city'] = 'Gatlinburg'

    add the line:
    $_REQUEST['page_limit'] = 5

    you can change the number 5 to be the number you want displayed.

  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: Couple snippet questions

    Quote Originally Posted by Smoky Mountain Man View Post
    where would you put price ranges to return, number of results shown etc?
    Thanks for any help
    Hi Patrick,

    I've added these 2 lines to your sample snippet.

    $_REQUEST['minimum_price'] = 5000;
    $_REQUEST['maximum_price'] = 125000000;


    You can use these 2 lines to set the price ranges.

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

  10. #10
    Join Date
    Nov 2007
    Location
    Sevierville, TN.
    Posts
    95

    Default Re: Couple snippet questions

    Thanks Aaron,
    thats what I needed. I hope to be able to capitalize on the 125,000,000 maximum real soon
    Patrick Malone
    RE/MAX All Pro REALTORS
    Gatlinburg Real Estate Agent
    Gatlinburg Homes

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Posting Permissions

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