Forum: Radiant CMS Is there a way to change the parent of a page?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Frank C. (Guest)
on 2007-06-18 14:20
(Received via mailing list)
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

I can delete the article and recreate under the right parent, but I'd
like to know how anyway?
Andrea F. (Guest)
on 2007-06-18 14:27
(Received via mailing list)
You can use the CopyMove extension:

Let me know if it's what you need!

> Post:   removed_email_address@domain.invalid
> Search:
> Site:

Andrea F.

Sean C. (Guest)
on 2007-06-18 17:06
(Received via mailing list)
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

This topic is locked and can not be replied to.