[Zope] Reference to Local Context of a Macro
Paul Winkler
pw_lists@slinkp.com
Fri, 13 Sep 2002 10:43:18 -0700
On Fri, Sep 13, 2002 at 11:33:47AM -0600, Edward Pollard wrote:
> I have a page. It includes a macro (some HTML) that is in a subfolder.
> This html needs to refer to an image file in the local context of the
> macro file (in the same subfolder).
>
> Is this possible? I cannot determine the correct path notation for it
> (template and here refer to the context of the main page template
> calling the macro).
You want container.
container refers to the container of the actual source template,
not the calling context.
--
Paul Winkler
"Welcome to Muppet Labs, where the future is made - today!"