On Sat, Mar 10, 2007 at 04:38:26PM +0100, Rudolph Froger wrote:
>I'm new on this list. I've a question on using HTML::Template for a
>- I will use a base template which defines the basic structure of the site.
>- Different parts of the template will have dynamic content (generated
>by the scripts).
What I did for bailii.org (and various other sites based on that code)
is a very simple approach: every page does a <tmpl_include> of the "top"
and "bottom" templates, which wrap the page-specific content. Using my
HTML::Template::Set module extension, the page template can then pass
variables to the included templates (such as the page's title).
More information if it's wanted.