 |

dpalmer
User
Feb 3, 2003, 9:58 AM
Post #1 of 2
(1333 views)
Shortcut
|
|
Custom template and error
|
Can't Post
|
|
Greetings again! Sorry to be back bothering, once again...but I'm confident you will be able to put me back on track! Here's the objective. Realty Manager. Some listings will be for "open house" purposes only. We are using our existing database of "listings" and a custom template and we want folks when they click on "go to Open Houses" to get a list of ALL those we have selected "yes" in the Open House field only. Here's the URL I'm using, based on my "humble knowledge" http://www.portfolio-of-homes.com/cgi-bin/rm/exec/search.cgi?search=1&lfield52_keyword=yes&template=openhouselisting.html But I'm getting the following error: Template : Template cell 'row_image' is not defined! Can't get beyond it. Please let me know what else I can provide, if anything, for assistance. Thanks in advance, Denise Palmer
|
|
|  |
 |

Benjamin
Staff

Feb 3, 2003, 3:26 PM
Post #2 of 2
(1327 views)
Shortcut
|
|
Re: [dpalmer] Custom template and error
[In reply to]
|
Can't Post
|
|
Hi Denise, Thanks for your post! :-) (Were you following my open houses post? Just curious). This error occurs when the template file - in this case, your openhouselisting.html file - doesn't contain the row_image template cell. This cell is used to create html for those listings that have images. You'll need to add the following two lines: <!-- templatecell : row_image --> <!-- /templatecell : row_image --> This should fix the problem temporarily, but I suspect not in the long run - I would imagine the output the page produces won't be correct. What I'd suggest is examining the _search_results.html file and seeing how that particular template cell is used within it (and the html that's contained within it). Then perhaps use this to recreate your custom template. Post me back if you're still having problems :-) Ben interactivetools.com
|
|
|  |
|