Integrating ActiveScaffold plugin in Radiant

3 views
Skip to first unread message

cesidio

unread,
Jun 27, 2007, 6:46:01 AM6/27/07
to Radiant CMS: Dev
Hi guys!

I just jumped on Radiant and wanted to thank all of you for the great
product released.

I am writing an extension to handle some entities of my business
domain. I would be very glad to use the ActiveScaffold plugin

http://activescaffold.com/

but have troubles integrating it in my extension cos it expects files
to be placed in the radiant installation directory

c:/ruby/lib/ruby/gems/1.8/gems/radiant-0.6.2/app/views/admin/
enterprises/list.rhtml

and of course I am not supposed to modify that.

So I think this is a general problem: How do u use a plugin in your
radiant extension?

Aitor Garay-Romero

unread,
Jun 27, 2007, 7:15:45 AM6/27/07
to radiant...@googlegroups.com

    The RadiantOnRails extension adds extra paths to "config.view_paths" so Rails and find them.  Take a look to that.

    Or install radiant in the vendor/radiant directory of your project so it does not depend on the gem.

    /AITOR

Dusan

unread,
Aug 19, 2007, 8:14:59 AM8/19/07
to Radiant CMS: Dev
this is actually not a good idea. RadiantOnRails appears to me as
useless. Beacause it does not integrate rails app into radiant.
RadiantOnRails just give you ablity to use radiant snippets in
your .rhtml templates. This is not much.

I was trying to use activescaffold with radiant but without success.
I'm working on radiant extension for activescaffold but it's pretty
tricky. I want to have radius tag for showing activescaffold table,
and I want it as flexible as it can be. To have all activescaffold
configs available in that tag.

For now I can't figure it out, so, if anybody did this, please help.

On Jun 27, 1:15 pm, "Aitor Garay-Romero" <aito...@gmail.com> wrote:
> The RadiantOnRails extension adds extra paths to "config.view_paths" so
> Rails and find them. Take a look to that.
>
> Or install radiant in the vendor/radiant directory of your project so it
> does not depend on the gem.
>
> /AITOR
>

Sean Cribbs

unread,
Aug 19, 2007, 1:11:30 PM8/19/07
to radiant...@googlegroups.com
RadiantOnRails is a very experimental hunk of code... Loren Johnson and Matt Parrish were working on it but I think they have taken a break from it for a while.  The idea was to quasi-pluginize Radiant so you could use it like Comatose. (Comatose is no longer supported or developed and Matt McCray has supposedly said "use Radiant".)

Sean

Andrea Franz

unread,
Aug 19, 2007, 3:45:42 PM8/19/07
to radiant...@googlegroups.com
I've just checkout radiant from svn. 

rake test:functionals gives me 0 failures. the same if I create a new extension..

but I've got some 17 failures  if I decomment this line:

require_dependency 'application'

Could someone give me an advice?

-----
Andrea Franz



Sean Cribbs

unread,
Aug 19, 2007, 5:24:20 PM8/19/07
to radiant...@googlegroups.com
In which file?

Sean

Andrea Franz

unread,
Aug 19, 2007, 5:31:48 PM8/19/07
to radiant...@googlegroups.com

Il giorno 19/ago/07, alle ore 23:24, Sean Cribbs ha scritto:

In which file?

sorry :P

I've decommented the line in the main extension file
Reply all
Reply to author
Forward
0 new messages