# Reorder + Copy/Move extensions

**URL:** <https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407>\
**Category:** Radiant CMS\
**Created:** [July 3, 2007, 7:47am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407 "2007-07-03T07:47:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 7:47am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/1 "2007-07-03T07:47:11Z")

</div>

Hello everybody.

I installed copy/move extension and got a button for copy/move action on  
a  
page list  
then i installed reorder extension and gor reorder button but copy/move  
disappeared.

as far as i understand that’s because reorder extension provides it’s  
own  
version for  
admin/pages view.

maybe we should implement some hooks for extensions to let them modify  
administrative  
page only in those parts we want?

P.S. that button for copy/move had an image and that image could not be  
found for some  
reason - i got 404. image was in the correct place under  
/vendor/extensions/copy\_move/public/images/admin - somebody had similar  
problem?

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 10:11am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/2 "2007-07-03T10:11:32Z")

</div>

> maybe we should implement some hooks for extensions to let them modify  
> administrative  
> page only in those parts we want?

```
Definitively. I my Radiant related to-do list i have a point about

```

sending to this list an e-mail about exactly this topic.

```
There must be an API so extensions can modify the UI without 

```

interfering  
others or with Radiant itself. I find this issue to the a big problem  
of  
the otherwise good extension system.

```
A client-side JavaScript API would be OK, a server-side Ruby one 

```

would  
be better.

```
 /AITOR
```

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 10:15am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/3 "2007-07-03T10:15:32Z")

</div>

> P.S. that button for copy/move had an image and that image could not be  
> found for some  
> reason - i got 404. image was in the correct place under  
> /vendor/extensions/copy\_move /public/images/admin - somebody had similar  
> problem?

You didn’t run all the migrations, read the README file of the  
extension. I you did, it’s possible that the migration was copying the  
file  
to the Radiant gem instead of to you app directory. Writing into the  
gem  
directory usually fails on unix machines (linux, osx) unless you are  
root.

/AITOR

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 10:35am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/4 "2007-07-03T10:35:34Z")

</div>

i have few thoughts about it

1. obvious one: think we should crystallize some parts of each  
administrative page  
where extensions could add their functional parts

2. we should have some way to define in which order extension-hooks are  
called.

3. those hooks maybe should be implemented in route mapping style

and last thing - i think server side API can’t be as flexible as  
client-side  
Javascript.  
We can follow some conventions in defining classes and id’s for elements  
and  
then  
each extension will modify page after onLoad event.

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 10:53am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/5 "2007-07-03T10:53:37Z")

</div>

thank you!  
anyway that button is gone because of reorder extension 🙂

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 10:42am UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/6 "2007-07-03T10:42:36Z")

</div>

Il giorno 03/lug/07, alle ore 07:45, Keymone ha scritto:

> it’s own  
> reason - i got 404. image was in the correct place under  
> /vendor/extensions/copy\_move/public/images/admin - somebody had  
> similar  
> problem?

You need to type:

rake radiant:extensions:copy\_move:install

…and it should copy the image in the public folder…let me know…

> –  
> Regards, Keymone
> 
> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site: [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

* * *

Andrea F.

removed\_email\_address@domain.invalid  
[http://bigchieflabs.com/blog/](http://bigchieflabs.com/blog/)  
[http://think.bigchief.it](http://think.bigchief.it)

---

<div class="post-metadata">

**Author:** ![Keymone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/8dc957/32.png) [@Keymone](https://www.ruby-forum.com/u/Keymone)\
**Post date:** [July 3, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/reorder-copy-move-extensions/108407/7 "2007-07-03T17:47:53Z")

</div>

On Jul 3, 2007, at 12:45 AM, Keymone wrote:

> I installed copy/move extension and got a button for copy/move  
> action on a  
> page list  
> then i installed reorder extension and gor reorder button but copy/  
> move  
> disappeared.

Keymone,

The current implementation has the extension rewriting the entire  
view, so multiple extensions that rewrite the same view overwrite  
each other. The current workaround for that is to diff the two views  
and modify the view that is getting loaded with the proper changes  
from the one that is not being loaded.

The core team is working on solutions for this and IIRC these have  
already begun being rolled into edge from their branch. It would be  
great if a core member could give us an update.

dm
