Weblog Archive

View: New views
3 Messages — Rating Filter:   Alert me  

Weblog Archive

by Ryan Irelan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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
--
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 Archive

by Sean Cribbs-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Weblog Archive

by richard apodaca :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And 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