
rlindauer
User
May 27, 2009, 7:00 PM
Post #4 of 12
(10495 views)
Shortcut
|
|
Re: [Donna] Using More Than One Template
[In reply to]
|
Can't Post
|
|
Okay, that helps to see the entire link, but here's my problem. I have a page that displays acreages, farms AND lots together. From that search results page, a user can then click to view the printable listing sheet (or detailed listing with more information) Is there a way to say "if it's a lot THEN use the template called _publish_lot.html ? I set up a separate printable template that was scaled down to take off unnecessary graphics for print purposes, but can I somehow tell it to use a separate template for lots versus everything else? Instead of just removing the graphics, I also want to take off bedrooms, baths, sq ft, year built, etc for the lots because there is no building present. In effect, what I want to do is set up two different scenarios -- similar to the default template where it has one layout for listings WITH a photo and then a separate bit of html for listings that do NOT have a photo. Only I want to say "if it's a lot, then use template _publish_lot.html - if not, use the regular template". If that doesn't work, then it looks like I'd have to separate lots and have a page JUST for displaying those (separate from farms and acreages) in order to use the new template, correct?
|