SV: [ZPT] extra_context

Evan Simpson evan@zope.com
Tue, 04 Dec 2001 09:49:19 -0500


Magnus Heino wrote:

> Suppose I want to use macros too, how would that fit in?

You would need to supply an object through which you could access the 
macros.  For example, if you had a PageTemplate P1 that defined macro M1, 
you could pass P1 to your other PageTemplate like "p(P1=P1)" and write 
"metal:use-macro="options/P1/macros/M1".

Cheers,

Evan @ Zope