[Radiant] nested layouts?

Ollivier Robert keltia at gmail.com
Fri Sep 1 08:34:43 CDT 2006


Hello,

Is it possible to have some kind of nested layouts (like partials in
Rails proper)?

Example: I have a page with a given layout. it has 3 parts, Body with

-----
<div class="left">
  <r:content part="left" />
</div>

<div class="main">
  <r:content part="main" />
</div>
-----

and the two other parts (Main & Left) being the ones with content.
The thing is, if I want to have another page with the schema, the
content of Body must be deplicated in the new page to get the same
layout.

The goal is to have what is in Body as a kind of template while still
inheriting the "global" layout itself (which define css and snippets
and all that).

Is it possible?  Did I missed something obvious in the architecture?

Thanks,
-- 
Ollivier Robert -



More information about the Radiant mailing list