PDA

View Full Version : page#_Main.html Help



Mpietrzy
08-25-2009, 09:05 PM
I've read the docs and these threads until I just couldn't stand it anymore. I'm sure it's here but can't seem to find it.

Essentially, I would like each property class, which in this case will be major cities, to have a "main.html" type file that would render a different look to each class. I have gotten as far as the search page, but also want the listings from that search page and the listing detail to follow suit. I also still want the users to be able to dynamically search and not just get all listings in a class.

For example, If my property classes are major cities within a state, information (that would be contained in ads, images, separate from listing information) relative to Atlanta buyers would be irrelevant to Savannah or Brunswick buyers. The only option that I can come up with is multiple installs of O-R...which I could do, but I'm thinking that's probably the hard way.

To whoever can help, Many Thanks

the_sandking
08-25-2009, 09:44 PM
http://wiki.open-realty.org/Template_Documentation#Listing_Detail_Templates

http://wiki.open-realty.org/Template_Documentation#Search_Page_Templates

http://wiki.open-realty.org/Template_Documentation#Search_Result_Templates

Those 3 template files allow customized versions per class, the details are in the last part of the docs for each one.

Mpietrzy
08-26-2009, 07:09 PM
Thanks, Sandking....And also you Mick, pbflash and ebmarques. The problem was actually in the main.html file. Or rather me being a slave to it. I removed everything from between the body tags except the {content} and {load_js_last} tags. That allowed the templates referenced above to display a different look throughout each class. Now I'll just use the page#_main.html for Welcome and About us pages, etc.

Thanks again for all the help...and if there is a major flaw in this method. Please a heads up before I get to far would really be appreciated.
Matt