<r:children:count /> should use the default find options for page children, which is to exclude virtual pages. Just to be sure, add virtual="false" and see if you get a different result.

Sean

Steven Southard wrote:
It seems like that should work but it doesn't. First, best I can tell, the archive month index doesn't have a url. Second even if I try to exclude another article's url it doesn't change the count.



On Feb 3, 2009, at 4:34 PM, john muhl wrote:

might try excluding it by url

<r:find url="/articles"><r:unless_url matches="/articles/archive">
<r:children:count />
</r:unless_url>
</r:find>


On Tue, Feb 3, 2009 at 3:03 PM, Steven Southard
<[email protected]>wrote:

I was using <r:find url="/articles"><r:children:count /></r:find> to keep track of the number of articles published. Now I've added an archive month index so my count is off by one. How do I subtract one or exclude the month
index?

Steven
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant


_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to