[Zope] subpath in dtml?

Janko Hauser jh@comunit.de
Sun, 24 Nov 2002 21:33:26 +0100


jonatan wrote:
> On Sun, 2002-11-24 at 21:09, Tino Wildenhain wrote:
> 
>>Hi Jonatan,
>>
>>just fix up your DTML :-) Use site-relative paths,
>>like /images/foo instead of just foo.
> 
> 
> 
> yes, absolute_url() would be nice.
> 
> how do i say header.jpg.absolute_url() ?
> 
> zope says header does not exist .. yeah, it really doesnt. but i need header.jpg :)
> 
> ARGH !!!
> 

<dtml-var "_['header.jpg'].absolute_url()">