 |

1forsalebyowner
User
Mar 10, 2003, 11:15 PM
Post #1 of 2
(1520 views)
Shortcut
|
"Template : Template cell 'not_found' is not defined!" appears when a search for a field results in no match. Specifically when I enter a random number as lfield40_keyword, which represents a search by listing number this happens. Please help. TIA, Fred
|
|
|  |
 |

Benjamin
Staff

Mar 11, 2003, 12:53 PM
Post #2 of 2
(1506 views)
Shortcut
|
|
Re: [1forsalebyowner] RM 2.28 error
[In reply to]
|
Can't Post
|
|
Hey Fred, This happens when that particular template cell has been removed from the page. Since it can't find that templatecell, the search script get confused, passes out, and prints the error message to the screen. Try adding this to your search results page: <!-- templatecell : not_found --> <font face="arial" size=1><br></font> <table width=580 border=0 cellspacing=1 cellpadding=5> <tr> <td align=center valign=top bgcolor="#FFFFFF"> <font face="arial" size=3><b>Sorry, No listings were found that matched your search query.<br>Please try your search again.</b></font><br> </td> </tr> </table> <!-- /templatecell : not_found --> This templatecell kicks into action when there are no results, as you noticed. Hope this helps! :-) Ben interactivetools.com
|
|
|  |
|