Is there a way to change the parent of a page?

I created an article under the wrong parent and need to correct that.

Is there a way to do this, or is it better done inside the database
itself?

I can delete the article and recreate under the right parent, but I’d
like to know how anyway?

You can use the CopyMove extension:

http://darcs.bigchieflabs.com/radiant/extensions/copy_move/rdoc/

Let me know if it’s what you need!

Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Andrea F.

[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it

If you’re a little shell and Ruby-savvy, there’s script/console.

$ ruby script/console production

new_parent = Page.find_by_url “/url/to/parent”
child = Page.find_by_url “/path/to/child”
child.parent = new_parent
child.save

Sean