[ZPT] base href insertion

Dieter Maurer dieter@handshake.de
Tue, 4 Mar 2003 20:05:02 +0100


Isaac Levy wrote at 2003-3-3 18:30 -0500:
 > I've found while migrating a site into Zope, that the insertion of the 
 > 'base href' tag destroys some javascript actions (very simple ones) 
 > which the html contains.
 > 
 > In a nutshell, I'm wondering how to most easily turn this off for ZPT, 
 > besides simply patching HTTPResponse.py?

You define your own "BASE" tag with whatever "href" you would like.

In principle, however, "base" should not affect javascript
unless it uses relative URLs.


Dieter