[Radiant] Sorting order

Sean Cribbs seancribbs at gmail.com
Fri Sep 1 10:08:53 CDT 2006


Ollivier,

You can specify by="attribute" on the children:each tag, which lets you pick
the attribute to sort by, which I'm assuming are any attributes of the Page
model.

Sean Cribbs
seancribbs.com

On 9/1/06, Ollivier Robert <keltia at gmail.com> wrote:
>
> On 9/1/06, Ollivier Robert <keltia at gmail.com> wrote:
> > When using such code as
> >
> > -----
> > -----
>
> Make that
>
> -----
> <r:children:each order="desc">
>   <r:content />
>   <hr />
> </r:children:each>
> -----
>
> Sorry.
> --
> Ollivier Robert -
> _______________________________________________
> Radiant mailing list
> Radiant at lists.radiantcms.org
> http://lists.radiantcms.org/mailman/listinfo/radiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060901/dd635279/attachment.html


More information about the Radiant mailing list