[pLog-svn] articles categories

Paul Westbrook paul at westbrooks.org
Mon May 28 02:52:51 EDT 2007


Hello,
    Shouldn't the correct fix to make sure that the  
num_published_articles field of the articles_categories table gets  
updated correctly when deleting posts?

--Paul


On May 27, 2007, at 10:42 PM, Ahmad Saleh wrote:

> 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].
>
> when i look at editarticlecategories.template at line 67 I saw that  
> you check first if there is any published articles {if $category- 
> >getNumArticles() > 0} then VIEW ALL POSTS {$category->  
> getNumAllArticles()} else print (0).
>
> On 5/27/07, Oscar Renalias <oscar at renalias.net> wrote:
> Is that supposed to be a patch?
>
> On 27 May 2007, at 14:16, Ahmad Saleh wrote:
>
> > editarticlecategories.template
> > {if $category->getNumArticles() > 0} get published articles only
> >     <td>{check_perms perm=view_articles}<a href=" admin.php?
> > op=editPosts&amp;showCategory={$category->getId()}
> > &amp;showStatus=0&amp;showMonth=-1">{/check_perms}({$category->
> > getNumAllArticles()}){check_perms perm=view_articles}</a>{/
> > check_perms}</td>
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn

--
Paul Westbrook
paul at westbrooks.org
<http://www.westbrooks.org>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20070527/3ea68917/attachment.htm 


More information about the pLog-svn mailing list