[Radiant] children sorting [solved]

David Minor dave at sus4.net
Thu May 17 14:25:00 CDT 2007


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&#8230;</r:link></r:if_content></p>
> </div>
>
> changing to order="asc"  does not change the ordering of the  
> children.  what am I missing?
>




More information about the Radiant mailing list