PDA

View Full Version : Is this possible? custom search display



rivercottage
08-06-2009, 01:59 PM
Hello wonderful chaps.

Im half walk building a lovely real estate site with this wonderful software, Im struggling with something, Ive had a read around but couldnt really find an answer.

I would like to have some custom pages which just display listings from a particular field.

Such as page X would only show listings from a particular area. On this page I would like to bob a bit of information and photos of the area above the listings. ..Is this possible?

Any help extremely appreciated!! I'll paypal you a beer :-)

Have a super day

ebmarques
08-06-2009, 03:23 PM
I would like to have some custom pages which just display listings from a particular field.
Such as page X would only show listings from a particular area. On this page I would like to bob a bit of information and photos of the area above the listings. ..Is this possible?
Any help extremely appreciated!! I'll paypal you a beer :-)


Yes, it is possible.
Once you say you wish "to bob a bit of information and photos of the area above the listings"... you will need to create a "special" main template file. For example, make a copy of your "main.html" template file and rename the new file as "page100_main.html" - edit this file to have what you wish above the listings. (http://wiki.open-realty.org/Template_Documentation#Main_Templates)
Now edit all your main template files (main.html and all pageX_main.html) including a link with the field you wish. For example, lets say you wish all listings from Neighborhood=Capitol - the link will be:

<a href="index.php?action=searchresults&neighborhood=Capitol&PageID=100" title="" >LINK</a>

So you have a customized main template file showing all listings from Neighborhood=Capitol

Eduardo

ebmarques
08-06-2009, 03:27 PM
I'll paypal you a beer :-)
Make a donation to Open-Realty. :)
You have a link at the bottom of this page:
http://www.open-realty.org/

Eduardo

rivercottage
08-07-2009, 06:42 AM
Thats excellent! works fantastic! How many guys are working at open realty?

ebmarques
08-07-2009, 12:15 PM
How many guys are working at open realty?

Actually, 5 persons.

Eduardo