orange
February 4, 2008, 5:04pm
1
This has been eluding me, so I thought I’d post here for some direction.
Does Radiant CMS do a archive page like this:
http://radiantcms.org/blog/archives/
on its own?
I’m fine with doing something custom, but want to be sure I’m not
overlooking the obvious.
-Ryan
orange
February 4, 2008, 6:49pm
2
Ryan,
Sort of. Radiant provides the hooks to be able to do it, but you need
certain code in the page. Here’s what that page has (Textile filter):
<r:children:each order=“desc” by=“published_at”><r:header>
h4. <r:date format="%B %Y" />
</r:header>* <r:link />
</r:children:each>
So, it iterates over all of its children, printing out links in
bullets. The <r:header> section only outputs text when the value of its
contents changes (so in this case, when the month or year changes).
Sean
orange
February 4, 2008, 6:58pm
3