Reorder + Copy/Move extensions

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?

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

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

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.

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

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: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant


Andrea F.

[email protected]
http://bigchieflabs.com/blog/
http://think.bigchief.it

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs