Thats great and all, but I think people are more concerned about 
ordering in the admin, not in your public pages as that option is 
already there. But thanks though.

David Piehler wrote:
> Alex Wayne wrote:
>> Or what about ordering in general?  I want to do an <r:children:each> 
>> loop but I want the admin to be able to choose the order.  The admin 
>> seems to lack any sort of page sorting functionality.
>> 
>> So, manual or automatic, how is this done?
> 
> The following will let you determine the page order in front-end 
> (non-admin) page listings. The key here is that the 'by' field refers to 
> a database field, not the equivalent Radiant tag (for example, 
> 'published_at' vs 'date')...
> 
> <r:children:each order='desc' by='published_at' status='published'>
>   ...
> </r:children:each>
> 
> - Dave

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to