Nice job John and Adam!  

In my case, I think it's going to make more sense for users to have position be
the default order.  So, I made the following change in standard_tags.rb to set
default order by to use position in children:each:

#by = (attr[:by] || 'published_at').strip
by = (attr[:by] || 'position').strip

I'll hope this change is incorporated into core in the future :)  

Todd


Quoting Adam Williams <[EMAIL PROTECTED]>:

> Radiant Users,
> 
> I have just checked in the reorder extension [1]. It adds the ability  
> to reorder the children of a Page. This continues to address ticket  
> 45 [2]. John Long has written 99% of the reordering code; I simply  
> made a couple of tests pass and made his work, as seen in this [3]  
> patch, an extension. There have been a few tags added to aid  
> navigation of Pages as well - more will come soon. The plan is to  
> eventually make this  feature a part of core, but the extension can  
> help some of you today.
> 
> Please do view the README. Being mindful of interfaces, I hope that  
> the update:public task that you encounter can become better named in  
> the future.
> 
> Hoping you find this useful,
> 
>   adam williams (aiwilliams)
> 
> 
> 
> [1] http://dev.radiantcms.org/svn/radiant/branches/mental/extensions/ 
> reorder
> [2] http://dev.radiantcms.org/radiant/ticket/45
> [3] http://dev.radiantcms.org/radiant/attachment/ticket/45/ 
> sortable_pages.mental.3.diff
> _______________________________________________
> Radiant mailing list
> Post:   Radiant@lists.radiantcms.org
> Search: http://radiantcms.org/mailing-list/search/
> Site:   http://lists.radiantcms.org/mailman/listinfo/radiant
> 


_______________________________________________
Radiant mailing list
Post:   Radiant@lists.radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to