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 01-31-2008, 08:09 AM
jessiesc jessiesc is offline
Advanced Webmaster
 
Join Date: May 2006
Posts: 2,128
jessiesc is on a distinguished road
Default snippet problem with area

Is there any way you can give the 'area' element in snippets a 'like' operator?

Many of the condos are built in phases and therefore get subdivisions by phase.

Example: DUNES OF PANAMA PH 1, DUNES OF PANAMA PH 2 some of these go up as high as 20!

It would really make my life easier!

Thanks
Reply With Quote
Old 01-31-2008, 08:38 AM
Micheal Pannell Realtor's Avatar
Micheal Pannell Realtor Micheal Pannell Realtor is offline
REW Client
 
Join Date: Aug 2006
Location: Fort Worth texas
Posts: 2,845
Micheal Pannell Realtor is on a distinguished road
Send a message via Yahoo to Micheal Pannell Realtor
Default Re: snippet problem with area

$_REQUEST['snippet_subdivision'][] = 'Tower Residential';
$_REQUEST['snippet_subdivision'][] = 'Tower Residential Condo 02';
$_REQUEST['snippet_subdivision'][] = 'Tower Residential II Condo';

you have to add ][]
__________________
Looking for Real Estate, Investments, Condos in Dallas-Fort Worth-Denton-Keller-Haslet-North Texas Area. We have you covered, 400 New Homes and 60,000 Pre-owned home. Mike Pannell 817-703-3238
Dallas Real Estate | Fort Worth Texas Real Estate | Dallas Texas Real Estate

BTW for all you COWBOY Haters. Superbowl Bound Baby. Sorry Deadskins
Reply With Quote
Old 01-31-2008, 09:24 AM
jessiesc jessiesc is offline
Advanced Webmaster
 
Join Date: May 2006
Posts: 2,128
jessiesc is on a distinguished road
Default Re: snippet problem with area

Quote:
Originally Posted by Micheal Pannell Realtor View Post
$_REQUEST['snippet_subdivision'][] = 'Tower Residential';
$_REQUEST['snippet_subdivision'][] = 'Tower Residential Condo 02';
$_REQUEST['snippet_subdivision'][] = 'Tower Residential II Condo';

you have to add ][]
This technique doesn't work for me. Thanks anyway.
Reply With Quote
Old 01-31-2008, 10:13 AM
REW Jenn's Avatar
REW Jenn REW Jenn is offline
Real Estate Webmasters Staff
 
Join Date: Jan 2008
Posts: 632
REW Jenn is on a distinguished road
Default Re: snippet problem with area

Morning Jessie - i will pass this on to programming for you.
__________________
Jenn Gorrie
Real Estate Webmasters
Reply With Quote
Old 01-31-2008, 11:08 AM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 7,725
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: snippet problem with area

Quote:
Originally Posted by jessiesc View Post
Is there any way you can give the 'area' element in snippets a 'like' operator?
Hi Jessie,

Sure thing ... I've change it to use LIKE
__________________
Aaron
Programming Support
Real Estate Webmasters
Reply With Quote
Old 01-31-2008, 05:33 PM
jessiesc jessiesc is offline
Advanced Webmaster
 
Join Date: May 2006
Posts: 2,128
jessiesc is on a distinguished road
Default Re: snippet problem with area

Thanks Aaron,

I get this error message using "LIKE": Parse error: syntax error, unexpected T_STRING in /home/jennifer/public_html/index.php(19) : eval()'d code on line 12

Here's the code:
$_REQUEST['area'] LIKE "DUNES OF PANAMA ";
Reply With Quote
Old 01-31-2008, 05:36 PM
Aaron Aaron is offline
Real Estate Webmasters Staff
 
Join Date: Jun 2005
Location: Nanaimo
Posts: 7,725
Aaron is on a distinguished road
Send a message via MSN to Aaron
Default Re: snippet problem with area

Hi Jessie,

Your code should look like this

$_REQUEST['area'] = "DUNES OF PANAMA";


The like part is done in the search page code.
__________________
Aaron
Programming Support
Real Estate Webmasters
Reply With Quote
Old 01-31-2008, 05:41 PM
jessiesc jessiesc is offline
Advanced Webmaster
 
Join Date: May 2006
Posts: 2,128
jessiesc is on a distinguished road
Default Re: snippet problem with area

Quote:
Originally Posted by Aaron View Post
Hi Jessie,

Your code should look like this

$_REQUEST['area'] = "DUNES OF PANAMA";


The like part is done in the search page code.
LOL, ok you tricked me!

I took you literally
Reply With Quote
Old 01-31-2008, 06:47 PM
Bhamhomes's Avatar
Bhamhomes Bhamhomes is offline
Real Estate Web Guru
 
Join Date: Dec 2005
Location: Bellingham, Wa
Posts: 373
Bhamhomes is on a distinguished road
Default Re: snippet problem with area

Good Question Jessie. I'm glad you brought up this issue, I was wondering about a similiar situation. Now I got my answer...thanks
__________________
Jerry Campbell, CRS, GRI
Muljat Group
Bellingham, WA 98225
Professional REALTOR for 15 years
BA WWU Management of Information Systems
Bellingham Real Estate | Bellingham Homes For Sale | Whatcom County Real Estate
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
CTMLS Area Changes REW Reed REW IDX 0 01-01-2008 10:07 PM
Snippet -- year built Discover Davis Homes REW IDX 2 10-25-2007 09:49 PM



For our members

Main Sections

IDX Coverage Areas

Spiders Welcome

All times are GMT -7. The time now is 01:58 PM.


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