[ZPT] Relative URL
Dieter Maurer
dieter@handshake.de
Mon, 17 Dec 2001 21:12:05 +0100
Sam Collett writes:
> How can you use relative URL's in page templates?
> I have tried the following, but it does not seem to work:
>
> <img src="..."
> tal:attributes="src string:${BASE2}/images/logo"
> >
You got a "NameError: not found...", right?
When something does not work, we want to know, in what way
it did not work. This helps in helping you...
Looks almost good. But, you should use "${request/BASE2}"
instead of "${BASE2}".
Dieter