Arbitrary sort order for children

Hi,

I am developing a radiant powered web site for a class that I am going
to teach that initially has three levels of pages in the parent-child
hierarchy, the home page, lessons, lesson-parts.

I would like to be able to change the order of the lessons arbitrarily.
For example, when I add a lesson that goes in the middle of the class
schedule, or if I didn’t create the lessons in the same order that they
should appear in the class.

Would I have to add a sort_order attribute to the pages model in order
to do something like this? I couldn’t figure out a way to leverage the
existing attributes of the page model for sorting that would order the
children the way I want.

Thanks,

Ryan

Ryan,

You can do this with the reorder extension, but IIRC it is somewhat
experimental.

Sean

-----Original Message-----
From: Sean C.
Sent: Monday, August 27, 2007 8:06 PM
Subject: Re: [Radiant] Arbitrary sort order for children

You can do this with the reorder extension, but IIRC it is somewhat
experimental.

I’ve found it to work well, but the Ye Olde problem of only having one
plugin able to modify the page list causes problems, e.g. you can’t use
it if you already have the copymove extension installed.

Damien McKenna
Web D.
The LIMU Company

very cool. Thanks for the responses.
I have loaded the extension and it works nicely. As for Ye Olde
extension problem, the README for the reorder says it is supposed to be
incorporated into the base Radiant CMS in version 0.6.1.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs