As I said before, when you delete all posts in the same category this category will show you that it has (0) posts [in editarticlecategories page].<br><br>when i look at editarticlecategories.template at line 67 I saw that you check first if there is any published articles 
<span style="text-decoration: underline; color: rgb(51, 102, 255);">{if </span><span style="font-weight: bold; text-decoration: underline; color: rgb(51, 102, 255);">$category-&gt;getNumArticles()</span><span style="text-decoration: underline; color: rgb(51, 102, 255);">
 &gt; 0}</span> then VIEW ALL POSTS <span style="text-decoration: underline; color: rgb(51, 102, 255);">{$category-&gt;
</span><span style="font-weight: bold; text-decoration: underline; color: rgb(51, 102, 255);">getNumAllArticles()</span><span style="text-decoration: underline; color: rgb(51, 102, 255);">}</span> else print (0).<br><br>
<div><span class="gmail_quote">On 5/27/07, <b class="gmail_sendername">Oscar Renalias</b> &lt;<a href="mailto:oscar@renalias.net">oscar@renalias.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is that supposed to be a patch?<br><br>On 27 May 2007, at 14:16, Ahmad Saleh wrote:<br><br>&gt; editarticlecategories.template<br>&gt; {if $category-&gt;getNumArticles() &gt; 0} get published articles only<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;{check_perms perm=view_articles}&lt;a href=&quot;
admin.php?<br>&gt; op=editPosts&amp;amp;showCategory={$category-&gt;getId()}<br>&gt; &amp;amp;showStatus=0&amp;amp;showMonth=-1&quot;&gt;{/check_perms}({$category-&gt;<br>&gt; getNumAllArticles()}){check_perms perm=view_articles}&lt;/a&gt;{/
<br>&gt; check_perms}&lt;/td&gt;<br>&gt; _______________________________________________<br>&gt; pLog-svn mailing list<br>&gt; <a href="mailto:pLog-svn@devel.lifetype.net">pLog-svn@devel.lifetype.net</a><br>&gt; <a href="http://limedaley.com/mailman/listinfo/plog-svn">
http://limedaley.com/mailman/listinfo/plog-svn</a><br><br>_______________________________________________<br>pLog-svn mailing list<br><a href="mailto:pLog-svn@devel.lifetype.net">pLog-svn@devel.lifetype.net</a><br><a href="http://limedaley.com/mailman/listinfo/plog-svn">
http://limedaley.com/mailman/listinfo/plog-svn</a><br></blockquote></div><br>