[Radiant] How to render template in behavior file?
Jacob Burkhart
igotimac at gmail.com
Tue Nov 28 15:19:08 CST 2006
John W. Long wrote:
> Alexander Lomakin wrote:
>> Of course this code will be executed with an error. Somebody knows
>> alternative for " render :template => 'mytemplates/gootemplate' "
>> code? It is possible?
>
> It's not presently possible. Why would you consider this behavior
> desirable?
It looks like he wants to use a Layout from a file instead of using one
of the Layouts defined in the database. (via radiant admin)
This would allow you yo use a text editor while your messing with a
layout instead of working within the textarea radiant provides. It
should be possible with a little bit of hackery...
Am I right about what you are trying to do Alexander?
--
Posted via http://www.ruby-forum.com/.
More information about the Radiant
mailing list