[Zope] Templates

Lynn Walton waltonl@franklin.edu
Thu, 20 Sep 2001 12:08:31 -0500


> I'm trying to figure a way to avoid splitting "master" templates in two
> files. F.ex the standard_html_header and footer is splitted in two parts,
> making it "a little" more difficult to manage. I'd like a solution (probably
> a class) where I can create a new document, and then base the new document
> on a single template (like to have a combo box in the document properties
> where I can select the template). So instead of referring to the template in
> DTML or TAL for every document, I just change it with the document property.

Take a look at: Zope Page Templates (ZPT)
http://www.zope.org//Wikis/DevSite/Projects/ZPT/FrontPage
It is exactly what you're talking about.

Lynn