On Fri, Oct 21, 2005 at 01:08:25PM +0200, Josh Clark wrote:

>I'm curious about what method folks use to combine several templates  
>into a single web page. The <tmpl_include> syntax obviously addresses  
>this. But it seems tempting in some cases to create a new  
>HTML::Template object for each template and include its output into a  
>single "master" template as a parameter, rather than via <tmpl_include>.

Every template in bailii.org starts with
<tmpl_include name=top.inc.tmpl> and ends with
<tmpl_include name=bottom.inc.tmpl>. This saves me from having to worry
about multiple HTML::Template objects, and gives me the flexibility of
having a variant page layout if I want it.

Roger


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Html-template-users mailing list
Html-template-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to