Re: Base templates and sub templates
"Rudolph Froger" <[email protected]> Sun, 11 Mar 2007 10:30:44 +0100
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
On 3/10/07, Roger Burton West <[email protected]> wrote: > 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. > > Roger Thanks for the tip! Rudolph ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV