Hey guys,

Is there any way to count how many pages are archived per month for a given parent? What I have is this:

<r:if_url matches="^/blog-posts/">
<div id="archives" class="sidebar_section">
<h5>Posts By Month</h5>
 <r:find url="/blog-posts/">
 <r:children:each order="desc">
<r:header><li><a href="<r:date format="/blog-posts/%Y/%m/" />"><r:date format="%B %Y" /></a></li></r:header>

I would like to show something like this, where "(50)" is the number of pages posted during February 2009:
<li><a href="/tanjents/2009/02/">February 2009 (50)</a></li>

Any thoughts?


Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to