[Zope-CMF] Migrating content between portals

Paul Winkler pw_lists@slinkp.com
Wed, 5 Feb 2003 11:29:43 -0800


On Wed, Feb 05, 2003 at 10:07:41AM -0800, J C Lawrence wrote:
> On Wed, 05 Feb 2003 13:38:15 +0100 
> Stefan H Holek <stefan@epy.co.at> wrote:
> 
> > If you want to be virtual hosting safe your only option is
> > self.absolute_url()[len(self.REQUEST.BASE0):]
> 
> Oh, thanks!
> 
> what happens with absolute_url (relative=1)?

it return the URL relative to the zope root,
with no leading slash.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's VOLUPTOUS PROSTITUTE!
(random hero from isometric.spaceninja.com)