On Tue, 2004-04-27 at 12:21, Dami Laurent (PJ) wrote: > It seems that plain inclusion of block components does not fit here, > so I'm trying to design the template collection in an object-oriented > way.
FWIW, the common way to add inheritance to your templates is to make them separate files, not blocks, and vary the include path. This allows you to have a directory setup like this: base/ base/style1/ base/style2/ Then set your include path to search depth-first from your selected style directory so that a "PROCESS foo.tt" will look for foo.tt in style2 and then in base if it doesn't find it in style2. - Perrin _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
