[Zope-dev] Page Templates and nested templates

Evan Simpson evan@4-am.com
Sun, 1 Apr 2001 17:09:34 -0500


From: "Johan Carlsson" <johanc@torped.se>
> Would it be completely stupid to be able to nest Macros.
> That is, you would have one MainMacroTemplate defining
> several Slots/SubMacros and then make several SubMacrosTemplates
> that inherents from the MainMacroTemplate, defining the Slots/SubMacros
> as new Macro definitions.
> This would give you an hierarcy of templates and make it possible
> to factor out common stuff higher up in the hierarcy and leaving the
> sub templates to handle specialisation.

You should definitely be able to nest macros.  If you can't right now, it's
a bug.

Cheers,

Evan @ digicool & 4-am