[Catalyst] TT2 multiple subtemplates

Stefan catalyst at s.profanter.me
Wed Aug 10 19:00:47 GMT 2011


Hi,
I'm new at the catalyst framework and using Template Toolkit.

What is the best practice to load a template like the following:


<html>
<body>
<div class"left">
                [% content %]
</div>
<div class"right">
                [% right_content %]
</div>
</body>
</html>

,content' should be replaced with left_content.tt2
,right_content' with right_content.tt2



If I use a Wrapper, only content is automatically replaced. How can I also
replace right_content?

 

Thanks for your Help!!

Stefan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110810/3d649d9b/attachment.htm


More information about the Catalyst mailing list