|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Weblog ArchiveThis 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 -- Posted via http://www.ruby-forum.com/. _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Weblog ArchiveRyan,
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 Ryan Irelan wrote: > 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 > _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
|
|
Re: Weblog ArchiveAnd if you're interested in pagination, here's one
possibility: http://depth-first.com/articles/2007/11/07/paginated-archives-in-radiant-cms-the-power-of-minimal-but-extendable-systems Cheers, Rich --- Sean Cribbs <seancribbs@...> wrote: > 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 > > Ryan Irelan wrote: > > 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 > > > > _______________________________________________ > Radiant mailing list > Post: Radiant@... > Search: http://radiantcms.org/mailing-list/search/ > Site: > http://lists.radiantcms.org/mailman/listinfo/radiant > ___________________________________ Richard L. Apodaca http://depth-first.com Blog http://metamolecular.com Company _______________________________________________ Radiant mailing list Post: Radiant@... Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant |
| Free embeddable forum powered by Nabble | Forum Help |