[Radiant] Programmatically getting access to the layout ?

Harvey Bernstein hb at bsemple.com
Tue Jul 18 08:52:13 CDT 2006


Francois
There was some discussion of this a while ago.  Andrew Hodgkinson had some
useful advise, have a look at this http://www.ruby-forum.com/topic/71319#new

Harvey
On 18/7/06 14:46, "Francois Beausoleil" <francois.beausoleil at gmail.com>
wrote:

> Hi !

2006/7/18, John W. Long <ng at johnwlong.com>:
> Francois Beausoleil
> wrote:
> > Obviously, I'd like the layouts to be defined only once -- DRY.
> Is
> > there a pre-defined way to get to the layout and reuse it in regular
>
> > Rails views ?
>
> Not at the moment. If you are interested in making this
> work take a look
> at #process on Behavior::Base:
>
>
> http://dev.radiantcms.org/radiant/browser/trunk/radiant/app/models/behavior.rb
> 
>
> If the software you are creating is radically different from Radiant,
>
> you could just use Radius within your own administration system. Radius
> is
> the library that Radiant uses to process the <r:tag_name /> tags:

No, it is
> not radically different.  I just need a CMS that goes around
the parts that I
> code.  My first task will be attempting to make
Radiant an Engine or a plugin,
> so I can integrate it with my own
application.

I will look at how to get the
> layout programmatically.

Thanks !
-- 
François
> Beausoleil
http://blog.teksol.info/
__________________________________________
> _____
Radiant mailing
> list
Radiant at lists.radiantcms.org
http://lists.radiantcms.org/mailman/listinfo
> /radiant

This e-mail has been scanned for all viruses by MessageLabs.



This e-mail has been scanned for all viruses by MessageLabs.



More information about the Radiant mailing list