 |

chrisl
User
Jan 15, 2003, 9:57 PM
Post #1 of 4
(1603 views)
Shortcut
|
|
Modify Listing Template
|
Can't Post
|
|
I am sure someone has asked this, but ... Is there a way to list properties by their type (eg. house, condo, land, commercial)? Also is it possible to list the properties in columns, not simply in a decending row? Thanks, Chris
|
|
|  |
 |

Benjamin
Staff

Jan 16, 2003, 10:15 AM
Post #2 of 4
(1578 views)
Shortcut
|
|
Re: [chrisl] Modify Listing Template
[In reply to]
|
Can't Post
|
|
Hi Chris, Thanks for your post. Just a couple of questions, first: - Concerning listing properties by their type, are you interested in having a separate link for each ("view houses", "view condos"...) or have your main listings page default to listing them by type? - And concerning listing properties in columns: do you want your main listings page to have (say) 5 listings per row, each listing in a column? There's no built-in way to do this, but it would certainly be possible with JavaScript. The drawback is that it would only work with javascript-enabled browsers... Post me back and we can go over some solutions Ben interactivetools.com
|
|
|  |
 |

chrisl
User
Jan 16, 2003, 10:43 AM
Post #3 of 4
(1574 views)
Shortcut
|
|
Re: [Benjamin] Modify Listing Template
[In reply to]
|
Can't Post
|
|
Hi, What I am looking for is some separation between the list as found, for example at: http://ilindsay.com/rm/listings/ This list presents a number of different property categories and it would be great if these could be listed under each of their headings, for example: Homes: Property1 Property2 Property3 etc. Land: Property1 Property2 Property3 etc. etc..... An example of what is presently in place (hand coded) is: http://ilindsay.com/itmidx2.htm My thinking is the the property list would be sepated by a category call seeding the revised template which would look similar to the above (itmidx2.htm). Possible??? Regarding column lists, don't worry about it. If I can list by category and ooking at the way this page is set up it probably would be limited to two columns anyway. Chris
|
|
|  |
 |

Benjamin
Staff

Jan 19, 2003, 11:35 AM
Post #4 of 4
(1541 views)
Shortcut
|
|
Re: [chrisl] Modify Listing Template
[In reply to]
|
Can't Post
|
|
Hey Chris, The problem is that you can't group search results in this manner, using the templates. Instead, what you'd have to do would be to use some server-side includes (SSI's). These are commands that "pull in" external pages within another page. In your case you'd be pulling in specific queries to the search engine, each one saying "return all HOMES" or "return all LAND", and each one drawing the results with a different template. This way you'd have control over giving each one a heading, etc - effectively breaking them up into groups. My only worry is that if you have many groups, the page might take a while to load. Frankly I need to brush up on SSI's myself, so if you need a hand working on this just let me know. Ben interactivetools.com
|
|
|  |
|