[Zope] Suggestions on getting proper URL in ZPT?

Dieter Maurer dieter@handshake.de
Wed, 31 Jul 2002 23:57:42 +0200


Alec Munro writes:
 > I've got a few page templates that need to contain references to Python
 > scripts that are in parallel directories to them. How can I make this
 > work so that no matter where the page template is used, it is always
 > able to call the Python script?
You might try the "container" predefined variable.
It is the container, the template is located in.


Dieter