Real Estate Forums

REW CMS 1 Questions For users of the REW CMS 1 or classic backend - please post your 'how do I' questions here. If you have upgraded to CMS 2, please use the CMS 2 Forum

Reply
 
Thread Tools Display Modes
Old 07-28-2008, 02:50 PM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default new page with variables passed in url

Hi-

I was reading this thread from RonnieG

http://www.realestatewebmasters.com/thread26779.html

and checking out how he uses his IDX search to create new pages. These new pages show all the listings in a particular town or area.

I would love to implement similar "quick links" on my CMS1 system (eau-claire-property.com).

I can get a particular list of properties in a city to come up by changing the city variable in the url. But how do I take the next step and then call that page something other than "http://www.eau-claire-property.com/idx/search.html?submit=true&city%5B%5D=20&idx=resident ial"

How do I create that page on the fly and refer to it as something useful like "Eleva Wisconsin real estate?"

Or can't I do that without a custom IDX?
Reply With Quote
Old 07-29-2008, 11:32 AM
rew danielle's Avatar
rew danielle rew danielle is offline
Real Estate Webmasters Staff
 
Join Date: Dec 2007
Posts: 1,422
rew danielle is on a distinguished road
Default Re: new page with variables passed in url

Hi Michael, we can provide you with a sample snippet. Using the sample provided, you can generate search results by specific cities, price ranges, property type, square footage, etc.

We will have this sample ready for you you shortly with an explanation on how to use it
__________________
Danielle Simard
Customer Support Representative
support@realestatewebmasters.com
Reply With Quote
Old 07-29-2008, 01:13 PM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default Re: new page with variables passed in url

Looking forward to it, thanks!
Reply With Quote
Old 08-01-2008, 10:47 AM
REW Steven's Avatar
REW Steven REW Steven is offline
Real Estate Webmasters Staff
 
Join Date: Aug 2006
Location: Nanaimo, BC
Posts: 748
REW Steven is on a distinguished road
Default Re: new page with variables passed in url

Hello Mike

I have created a sample snippet for you.

http://www.eau-claire-property.com/snippet.php

PHP Code:
<?php

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

$_REQUEST['snippet_city'][] = 'Eau Claire';

$_REQUEST['minimum_bedrooms'] = 1;

$_REQUEST['minimum_bathrooms'] = 1;

$_REQUEST['minimum_sqft'] = 500;

$_REQUEST['minimum_acres'] = 0.1;

$_REQUEST['minimum_year'] = 1950;

// Do not edit below here
include_once $_SERVER['DOCUMENT_ROOT'].'/idx/common.inc.php';
include_once 
$_SERVER['DOCUMENT_ROOT'].'/idx/pages/snippet.php';

?>
The choices for idx are

residential
land
multi-family
commercial
farm

You can have multiple lines of snippet_cities. This will search both cities.

PHP Code:
$_REQUEST['snippet_city'][] = 'Eau Claire';

$_REQUEST['snippet_city'][] = 'Chippewa Falls'
If you change the last line to say search.php instead of snippet.php you will loose the price links table at the top and can add your own price ranges.

PHP Code:
include_once $_SERVER['DOCUMENT_ROOT'].'/idx/pages/search.php'
You can use snippet_area instead of snippet_city. I will put the lookup table for the area IDs below.


PHP Code:
$_REQUEST['snippet_area'][] = '1';

$_REQUEST['snippet_area'][] = '2'
1 => EC Schl/Northside
2 => EC Schl/Southside
3 => EC Schl/Westside
4 => Altoona Schl/City
5 => EC Schl/Out
6 => Altoona Schl/Out
7 => EC Cnty/All Others
8 => Chippewa Falls Schl/City
10 => Pep/Buff/Trem
11 => Jk/Mn/Ver/La
12 => Chippewa Falls Schl/Out
13 => Chippewa Cnty
15 => Menomonie Schl/City
16 => Menomonie Schl/Out
19 => Elk Mound/Colfax
20 => Dunn Cnty/All Others
21 => St Croix and Pierce
29 => Taylor and Clark
30 => Chetek Schl Dist
31 => Cameron Schl Dist
32 => Barron Schl Dist
33 => Rice Lake Schl/City
34 => Rice Lake Schl/Out
35 => Barron/All Others
36 => Cumberland Schl Dist
38 => Polk Cnty
40 => Spooner Schl/City
43 => Shell Lake Schl/City
44 => Shell Lake Schl/Out
45 => Spooner Schl/Out
46 => Hayward Schl Dist
47 => Birchwood Schl Dist
48 => Park Falls Schl Dist
49 => Phillips Schl Dist
50 => All Others Sawyer
51 => Ladysmith Schl Dist
52 => Phillips/Price
53 => Siren Schl Dist
54 => Burnett Cnty/Out
55 => All Others Rusk
56 => Drummond Schl Dist
57 => Ashland/Bayfield
58 => Northwood Schl Dist
59 => Douglas Cnty
60 => All Other WI Prop
61 => All Other States

So start making some snippets and let me know if you need any help.
__________________
Systems and Support Manager
Email FAQ
Site Live Form
Ordering new work
Reply With Quote
Old 08-02-2008, 07:11 AM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default Re: new page with variables passed in url

Very cool, thanks Steven. I will start working on some soon!
Reply With Quote
Old 08-26-2008, 09:43 PM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default Re: new page with variables passed in url

I'm not seeing the price ranges at the top of the screen.

Also, I can get snippet-city to work but I can't seem to get snippet-area to work.
Reply With Quote
Old 08-27-2008, 05:28 PM
REW Steven's Avatar
REW Steven REW Steven is offline
Real Estate Webmasters Staff
 
Join Date: Aug 2006
Location: Nanaimo, BC
Posts: 748
REW Steven is on a distinguished road
Default Re: new page with variables passed in url

Hello Mike

I have fixed snippet_area.

I assume you are talking about the #EauClaireSouth# snippet? You don't see the price range table because you are using search.php instead of snippet.php
__________________
Systems and Support Manager
Email FAQ
Site Live Form
Ordering new work
Reply With Quote
Old 08-27-2008, 08:46 PM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default Re: new page with variables passed in url

Thanks Steven. Sure enough, the snippet-area works like a charm now.

However, I get the following error message above the results:

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/eau-claire-property.com/httpdocs/index.php:203) in /var/www/vhosts/eau-claire-property.com/httpdocs/idx/includes/classes/UserSession.class.php on line 111

Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/eau-claire-property.com/httpdocs/index.php:203) in /var/www/vhosts/eau-claire-property.com/httpdocs/idx/includes/classes/UserSession.class.php on line 123


This error appears when I use search.php as well as when I try snippet.php.

I noticed it last night also, but it went away after I resaved a few times. Does that make any sense?
Reply With Quote
Old 08-28-2008, 04:20 PM
REW Steven's Avatar
REW Steven REW Steven is offline
Real Estate Webmasters Staff
 
Join Date: Aug 2006
Location: Nanaimo, BC
Posts: 748
REW Steven is on a distinguished road
Default Re: new page with variables passed in url

I think I have fixed it. Let me know if you see it again.
__________________
Systems and Support Manager
Email FAQ
Site Live Form
Ordering new work
Reply With Quote
Old 08-28-2008, 08:50 PM
Michael Paul Eau Claire's Avatar
Michael Paul Eau Claire Michael Paul Eau Claire is offline
Real Estate Web Guru
 
Join Date: Aug 2006
Location: Eau Claire, Wisconsin
Posts: 380
Michael Paul Eau Claire is on a distinguished road
Default Re: new page with variables passed in url

looks good. Thanks for your help!

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Indexed page count differences RonnieG Real Estate and Google 1 04-29-2008 11:47 PM
Landing Page Info RyanR Pay Per Click 2 09-08-2007 08:37 PM
Looking for feedback... frobn Real Estate and Google 29 08-29-2005 02:49 AM



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 02:16 AM.


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