Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
error when publishing globalindex.html

 

 


bobw
User

Oct 24, 2006, 9:03 PM

Post #1 of 4 (1025 views)
Shortcut
error when publishing globalindex.html Can't Post

Installed AM2.0 - new install, so no upgrade issues, but get erropr message:

The server timed out and was unable to complete publishing.
Error: templatecell 'categoryRow' wasn't found in 'articleLists/globalIndex.html'!

I've checked the template as uploaded and its exactly the same as was in the zip download file.


MEKAEEL
User

Oct 24, 2006, 9:34 PM

Post #2 of 4 (1020 views)
Shortcut
Re: [bobw] error when publishing globalindex.html [In reply to] Can't Post

there is a template cell missing in your template, you might have deleted it without noticing it. It happens to me a lot with Frontpage.

the template cell you are missing looks something like this:

<!-- templatecell : categoryRow -->


or maybe:

<!-- /templatecell : categoryRow -->

I hope that helps Smile

cheers,


bobw
User

Oct 24, 2006, 10:23 PM

Post #3 of 4 (1019 views)
Shortcut
Re: [MEKAEEL] error when publishing globalindex.html [In reply to] Can't Post

That's what I though, comparing the template to templates from version 1 of article manager, but the template that came with my zip file download is as follows: no such line in it - is this a mistake in the template?.

<html><head><title>$my.siteName$ $my.siteDescription$</title>
<!-- templateComment --><link href="../singlePages/styleSheet.css" rel="stylesheet" type="text/css" /><!-- /templateComment -->

<!--#include virtual="$published.header.webpath$" -->

<!-- body: left nav -->

<table border="0" cellspacing="0" cellpadding="0" width="100%" height=100%>
<tr>
<td class="nav_left" valign="top" width=1%>

<!-- INCLUDE CATEGORY LIST -->
<!--#include virtual="$published.globalMenu.webpath$" -->

<!-- INCLUDE SEARCH FORM -->
<!--#include virtual="$published.searchbox.webpath$" -->

<img src="$_weburl$images/spacer.gif" height=3 width=150><br>
</td>
<td><img src="$_weburl$images/spacer.gif" height=1 width=25></td>
<td width="100%" valign="top">

<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td>
<span class="general_text">


<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><span class="header">$my.homepageName$</span></td>
<td align="right"><span class="general_text">Last Updated: </span><span class="global_updated">$_lastUpdated$</span></td>
</tr>
</table>
<hr size=1><br>

<!-- template insert : $articleList$ -->
<!-- templatecell : articleRow -->
<div class="summary">
<span class="summary_breadcrumb"><!--#include virtual="$published.categoryBreadcrumb.webpath$" --></span><br>

<a href="$published.articlePage.url$" class="summary_title">$article.title$</a> - <span class="summary_date">$article.date$</span><br>

$article.summary$

<div class="summary_link">
<!-- templateIf : $article.attachments$ ne "" -->
<div class="summary_attachments"> <b style="color: #666666;">Download attachment(s):</b> $article.attachments$</div>
<!-- /templateIf -->

[ <a href="$published.articlePage.url$">Read More...</a> ]


<br clear="all"></div>
</div>

<!-- /templatecell : articleRow -->



<!-- templateIf : $articleList$ eq "" -->
<div class="summary">Sorry, no articles were found.</div>
<!-- /templateIf -->



<!-- templatecell : article.attachments.row -->
[ <a href="$file.webUrl$">$file.title$</a> ]
<!-- /templatecell : article.attachments.row -->










<div align="right"><span class="more_headlines">

<!-- templateIf : $articleList.prevPageNumber$ eq "" -->
&lt;&lt; prev page
<!-- /templateIf -->

<!-- templateIf : $articleList.prevPageNumber$ ne "" -->
<a href="$settings.searchurl$?action=search&page=$articleList.prevPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&includeSubcats=$articleList.includeSubcats$">&lt;&lt; prev page</a>
<!-- /templateIf -->

&nbsp;&nbsp;

<!-- templateIf : $articleList.nextPageNumber$ > $articleList.thisPageNumber$ -->
<a href="$settings.searchurl$?action=search&page=$articleList.nextPageNumber$&perpage=$articleList.perpage$&template=$articleList.template$&includeSubcats=$articleList.includeSubcats$">next page &gt;&gt;</a>
<!-- /templateIf -->


<!-- templateIf : $articleList.nextPageNumber$ <= $articleList.thisPageNumber$ -->
next page &gt;&gt;
<!-- /templateIf -->
</div>



<br></span>



</td></tr></table>

</td>
<td><img src="$_weburl$images/spacer.gif" height=1 width=25></td>
<td class="bg_nav_right" valign="top" width=1%>

<!-- INCLUDE TOP HEADLINES (from each category) -->
<!--#include virtual="$published.groupedHeadlines.webpath$" -->

<img src="$_weburl$images/spacer.gif" height=1 width=150><br>
</td>
</tr>
</table>

<!-- footer -->


</body>
</html>


Dave
Staff / Moderator


Oct 24, 2006, 11:16 PM

Post #4 of 4 (1016 views)
Shortcut
Re: [bobw] error when publishing globalindex.html [In reply to] Can't Post

You might want to double-check that you're not trying to use an article list template to publish a category menu.

Only the category menu publish rules look for the 'categoryRow' templateCell and all those templates should be found in templates/categoryMenus/.

Let me know if that does the trick.

Dave Edis - Senior Developer
interactivetools.com