Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 1:
Error whenever searching

 

 


ColinW-O
User

Aug 8, 2002, 12:02 PM

Post #1 of 3 (2213 views)
Shortcut
Error whenever searching Can't Post

Hi,

I'm adding the search feature on the website, but whenever I press the Search button, the following error comes up:

"Program Message. TemplateCell : Template cell 'row' is not defined!"

Any ideas how to fix that?

Thanks.

Colin


Damon
Staff / Moderator


Aug 8, 2002, 3:17 PM

Post #2 of 3 (2202 views)
Shortcut
Re: [ColinW-O] Error whenever searching [In reply to] Can't Post

Hi Colin,

It sounds like you are missing the Template cell 'row' in the '/search/search_results.html' template

To fix this problem, open up the '/search/search_results.html' template file in an HTML/text editor.

Here is an example of code that is included within the HTML of the template file:


Code
   <!-- templatecell : row --> 
<font class="text"><b><a name="$art_num$">$cat_name$</a></b></font><br>
<font class="artname"><a href="$detail_link$">$art_name$</a></font><br>
<font class="arttext">$art_summary$</font><br>
<font class="artdate">$art_date$, $art_time$<br clear="all"><br></font>
<!-- /templatecell : row -->

You can also refer to your original (unmodified) '/search/search_results.html' template file for this code, and simply just copy and paste the appropriate code from the old template file to your existing one.

When modifying the template files it's important not to remove any of the <!-- templatecell --> code, this code is unique code that is used by the program to determine the placement and output of data. When modifying your HTML templates it's important to make backups and test often, therefore, if you do happen to make an error you can always revert back to a back up you made 5 minutes ago.

If this doesn't work, let me know so we can look into it further.

--------------------------------------------------- 
Cheers
Damon Edis
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/


ColinW-O
User

Aug 9, 2002, 10:12 AM

Post #3 of 3 (2191 views)
Shortcut
Re: [Damon] Error whenever searching [In reply to] Can't Post

Actually I discovered that the search_results file was ZERO KB! Somehow it got screwed while uploading. Now it's working just fine!

Danke.

Colin
Wrestling-Online.com