Published -> Copy/Move -> Draft

Hi all,

Firstly thank you to Andrea F. 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

Firstly thank you to Andrea F. for this great extension.

Thank you very much :stuck_out_tongue:

Is it possible to easily set copied or moved pages to have a status
of Draft, despite the original pages setting?

Not yet…but I can add another menu to choose the new page status…
something like:

  • The same
  • Hidden

…and if you are copying the whole tree of a page? you need to apply
the selected status
to all page in the tree?

Is it possible to easily set copied or moved pages to have a status
of Draft, despite the original pages setting?

Not yet…but I can add another menu to choose the new page status…
something like:

  • The same
  • Hidden

That would be fantastic. =)

…and if you are copying the whole tree of a page? you need to apply
the selected status
to all page in the tree?

Mmm, I hadn’t thought about that, so whatever is easiest :wink: -but that
would make sense.

Cheers

On Sep 5, 2007 4:14 PM, Dominic [email protected] wrote:

Is it possible to easily set copied or moved pages to have a status
of Draft, despite the original pages setting?

Not yet…but I can add another menu to choose the new page status…
something like:

  • The same
  • Hidden

Hi Dominic, I finally added this feature…you can read more here:

http://gravityblast.com/2007/11/29/copymove-19-is-out/

have a good day :slight_smile:

Andrea

Hi Andrea,

Great work - and it’s updated to work shards too! Good stuff

Many thanks :slight_smile: