
ross
Staff
/ Moderator

Jun 16, 2009, 1:20 PM
Post #2 of 4
(1426 views)
Shortcut
|
|
Re: [thenetgirl] Displaying Featured Property
[In reply to]
|
Can't Post
|
|
Hi there. Thanks for posting! Your code looks ok to me but keep in mind that it will be case sensitive. If the options you have for your checkbox are "yes" and "no" you will want to make sure the if blocks use "yes" or "no. Right now, your code is using "YES". The other thing for now is that I don't actually see any listings at all on the page you linked me to. I see two when I do a search though. One other thing I was thinking is you could actually just put a 'where' => "featured = 'Yes'" in your viewer code. That would get around having to use the if blocks on your page. The program would only give you featured listings. Let me know what you think :). ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting: http://www.interactivetools.com/consulting/
|