[Zope] Re: incredible growing urls

Paul Winkler pw_lists@slinkp.com
Thu, 15 May 2003 13:21:24 -0400


On Thu, May 15, 2003 at 04:58:21PM -0400, Bill Bell wrote:
> Zope seems to be supplying the <base> tag as a friendly gesture. At least, it does 
> not appear in any form in my code.

yes, it does that so relative links from some_folder/index_html will still
work when you visit some_folder directly.

> What I have found, or seem to have found, is that if insert the following tag into my 
> template the thing works ok.
> 
> <base href="http://localhost:8080/OSPN/" />

ok, but you have to remember to keep it up to date if you move this stuff.

did you not see the alternate solution I posted?
use &dtml-absolute_url; instead of &dtml-id; in the link.

-- 

Paul Winkler
home:  http://www.slinkp.com
"Muppet Labs, where the future is made - today!"