[Radiant] Published -> Copy/Move -> Draft
Dominic
subsorama at gmail.com
Wed Sep 5 09:10:35 CDT 2007
Hi all,
Firstly thank you to Andrea Franz for this great extension.
Is it possible to easily set copied or moved pages to have a status
of Draft, despite the original pages setting?
Could I change this:
new_page = Page.create(
:title => new_title, :slug => new_slug, :breadcrumb =>
new_title, :class_name => page.class_name,
:status_id => page.status_id, :parent_id =>
new_parent.id, :layout_id => page.layout_id
)
to something like:
:status_id => 1
?
I don't have access to a test server at the mo, or much time, so
thanks for any advice.
Cheers
More information about the Radiant
mailing list