Real Estate Forums

REW IDX REW Customers only - ask questions, get support and report feed issues here.

Reply
 
Thread Tools Display Modes
Old 10-26-2007, 10:59 AM
u2man u2man is offline
Real Estate Web Guru
 
Join Date: Nov 2005
Location: NC
Posts: 370
u2man is on a distinguished road
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!
Reply With Quote
Old 10-29-2007, 03:11 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 5,970
Aaron is on a distinguished road
Send a message via MSN to Aaron
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
Programming
Real Estate Webmasters
Reply With Quote
Old 10-31-2007, 09:50 AM
u2man u2man is offline
Real Estate Web Guru
 
Join Date: Nov 2005
Location: NC
Posts: 370
u2man is on a distinguished road
Default Re: Couple snippet questions

Hey Aaron,
Anything on the other snippets I sent via email. Thx!
Reply With Quote
Old 10-31-2007, 11:48 AM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 5,970
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: Couple snippet questions

Hi Tim,

Sorry for the delay - Email on the way.



Thank you,
__________________
Aaron
Programming
Real Estate Webmasters
Reply With Quote
Old 01-20-2008, 06:31 AM
Smoky Mountain Man Smoky Mountain Man is offline
Advancing Webmaster
Recently blogged:
Short Sales
at my REW Blog. Claim your blog
 
Join Date: Nov 2007
Location: Gatlinburg, TN.
Posts: 73
Smoky Mountain Man is on a distinguished road
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 Prestige Realty
Gatlinburg Real Estate
Gatlinburg Homes
Reply With Quote
Old 01-20-2008, 04:48 PM
SCP's Avatar
SCP SCP is offline
Advancing Webmaster
 
Join Date: Aug 2007
Posts: 93
SCP is on a distinguished road
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".
Reply With Quote
Old 01-21-2008, 06:16 AM
Smoky Mountain Man Smoky Mountain Man is offline
Advancing Webmaster
Recently blogged:
Short Sales
at my REW Blog. Claim your blog
 
Join Date: Nov 2007
Location: Gatlinburg, TN.
Posts: 73
Smoky Mountain Man is on a distinguished road
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 Prestige Realty
Gatlinburg Real Estate
Gatlinburg Homes
Reply With Quote
Old 01-21-2008, 07:25 AM
SCP's Avatar
SCP SCP is offline
Advancing Webmaster
 
Join Date: Aug 2007
Posts: 93
SCP is on a distinguished road
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.
Reply With Quote
Old 01-21-2008, 01:36 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 5,970
Aaron is on a distinguished road
Send a message via MSN to Aaron
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
Programming
Real Estate Webmasters
Reply With Quote
Old 01-21-2008, 08:09 PM
Smoky Mountain Man Smoky Mountain Man is offline
Advancing Webmaster
Recently blogged:
Short Sales
at my REW Blog. Claim your blog
 
Join Date: Nov 2007
Location: Gatlinburg, TN.
Posts: 73
Smoky Mountain Man is on a distinguished road
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 Prestige Realty
Gatlinburg Real Estate
Gatlinburg Homes
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

REW Conference

For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 01:22 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.