[Radiant] children sorting [solved]
Sean Cribbs
seancribbs at gmail.com
Thu May 17 20:05:47 CDT 2007
Yes, the default is published_at.
Sean
On 5/17/07, David Minor <dave at sus4.net> wrote:
> what I needed was to specify the by="attribute" to set the children
> to sort by the created_at date.
>
> it eventually hit me.
>
> dm
>
> On May 17, 2007, at 12:49 PM, David Minor wrote:
>
> > Here's the code I'm using. I'm pretty confident this was radiant
> > created code during setup:
> >
> > <r:children:each limit="5" order="desc">
> > <div class="entry">
> > <span class="date"><r:date /></span>
> > <h3><r:link /></h3>
> > <r:content />
> > <p><r:if_content part="extended"><r:link
> > anchor="extended">more…</r:link></r:if_content></p>
> > </div>
> >
> > changing to order="asc" does not change the ordering of the
> > children. what am I missing?
> >
>
> _______________________________________________
> Radiant mailing list
> Post: Radiant at lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site: http://lists.radiantcms.org/mailman/listinfo/radiant
>
More information about the Radiant
mailing list