Dmitry,

Thanks for that, I didn't realize you could delegate to blocks from other
pages!

-George

On Mon, May 20, 2013 at 11:30 PM, Dmitry Gusev <dmitry.gu...@gmail.com>wrote:

>
> But, if implement my pages with blocks, like:
>
> Page1.tml:
> <t:layout>
>     <t:delegate to="block:mainBlock" />
>     <t:block id="mainBlock">
>        Page1
>     </t:block>
> </t:layout>
>
> Page2.tml
> <t:layout>
>     <t:delegate to="block:mainBlock" />
>     <t:block id="mainBlock">
>        Page2
>     </t:block>
> </t:layout>
>
> Then on page3 I can embed contents of mainBlocks from page1 and page2 like
> this:
>
> Page3.tml
> <t:layout>
>
>         <t:delegate to="page1.mainBlock" />
>         <t:delegate to="page2.mainBlock" />
>
> </t:layout>
>
>
> I think this is something you want to do, isn't it?
>
> --
> Dmitry Gusev
>
> AnjLab Team
> http://anjlab.com
>

Reply via email to