[Radiant] Best Practices for multiple Layouts that have slight
variations
Brian Gernhardt
benji at silverinsanity.com
Wed Jan 24 16:48:46 CST 2007
On Jan 22, 2007, at 12:44 PM, Michael Jones wrote:
> Ideal I would create a 5 data structures that encapsulate the
> differences and have 1 Layout that pulls in the correct data to create
> the required unique Layout.
>
> Is there someway to accomplish this? Or is there a better approach?
This is actually the way to do it. In your layout user <r:content
part="{top,style,tag}" inherit="true">, and place the required
changes in the correctly named parts on the top pages. The
inherit="true" will make the children pages search up to those top
pages to find the parts.
~~ Brian
More information about the Radiant
mailing list