[ZPT] how can I avoid path to grow huge ??

Dieter Maurer dieter@handshake.de
Tue, 30 Apr 2002 21:56:23 +0200


Robert Rottermann writes:
 > I  have a script which creates a dynamic links according to the folder
 > content.
 > This script is called from a page template with
 > <span tal:content="structure here/scripts/xxx"></span>
 > this works fine. Unfortunatelly with each click on a such a link the url
 > gets longer. (scripts/xxx is added to it)
If your "xxx" contains simple relative links (without any "/"),
then this should not happen.

Depending on your site structure, you may be able to use
"absolute_url". It should flatten out your URLs.


Dieter