[ZPT] getting the object a macro is called from

Evan Simpson evan@zope.com
Thu, 07 Feb 2002 12:01:35 -0500


Damir Bartakovic wrote:
> I am using CMF + ZPT. Now there is a macro "master" which is used in quite a
> lot ZPT's.
> I would like to have the modification time.

You can use "template", as in: "template.bobobase_modification_time()"

Cheers,

Evan @ Zope