[Zope-CMF] Migrating content between portals

Stefan H. Holek stefan@epy.co.at
Wed, 05 Feb 2003 13:38:15 +0100


If you want to be virtual hosting safe your only option is
self.absolute_url()[len(self.REQUEST.BASE0):]

Stefan


--On Dienstag, 04. Februar 2003 19:41 -0800 J C Lawrence <claw@kanga.nu> 
wrote:

> In a kind-of topic-like object I'd like to also display the path to an
> object as that lends some clue as to its context and relevance.  I could
> just take object.absolute_url() and chop off the start, but that seems a
> bit expensive.  Is there a simpler way?

--
Those who write software only for pay should go hurt some other field.
/Erik Naggum/