[Zope] ZPT macro using a macro from the same page template

Paul Winkler pw_lists@slinkp.com
Tue, 22 Jul 2003 11:26:57 -0400


On Tue, Jul 22, 2003 at 05:34:41PM +0200, Gilles Lenfant wrote:
> Thanks but, it seems that no !
> In that case, "template" refers to the Page templates that uses the "main"
> macro (any template in the site).
> It seems that "template", "here" (...) are passed along from the first Page
> template executed to the ones that contain the executed macros.

ohhh crud. You're right; the macros are not evaluated until they are
used by the template that does use-macro.

in that case, you'll need to have a way to get to the original template
by name. The simplest is to give the name explicitly, e.g. 
here/some_template_name/macros/aux

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE FOUL CONTROLLER!
(random hero from isometric.spaceninja.com)