# Published -\> Copy/Move -\> Draft

**URL:** <https://www.ruby-forum.com/t/published-copy-move-draft/113849>\
**Category:** Radiant CMS\
**Created:** [September 5, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849 "2007-09-05T16:11:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://www.ruby-forum.com/u/dominic)\
**Post date:** [September 5, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849/1 "2007-09-05T16:11:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dominic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://www.ruby-forum.com/u/dominic)\
**Post date:** [September 5, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849/2 "2007-09-05T17:02:08Z")

</div>

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

Thank you very much 😛

> 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?

---

<div class="post-metadata">

**Author:** ![dominic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://www.ruby-forum.com/u/dominic)\
**Post date:** [September 5, 2007, 5:15pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849/3 "2007-09-05T17:15:11Z")

</div>

> > 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 😉 -but that  
would make sense.

Cheers

---

<div class="post-metadata">

**Author:** ![dominic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://www.ruby-forum.com/u/dominic)\
**Post date:** [November 29, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849/4 "2007-11-29T16:00:49Z")

</div>

On Sep 5, 2007 4:14 PM, Dominic [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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/](http://gravityblast.com/2007/11/29/copymove-19-is-out/)

have a good day 🙂

Andrea

---

<div class="post-metadata">

**Author:** ![dominic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/13edae/32.png) [@dominic](https://www.ruby-forum.com/u/dominic)\
**Post date:** [November 30, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/published-copy-move-draft/113849/5 "2007-11-30T17:54:08Z")

</div>

Hi Andrea,

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

Many thanks 🙂
