[Zope-dev] [IDEA] ZopeRoot and SiteRoot

Florent Guillaume fg@nuxeo.com
17 Dec 2001 17:45:42 GMT


> Well, these things should be done together. What is needed is a complete set
> of functions for getting the objects path, URL sitename and root, both with
> and without SiteRoot/VHM. And the virtual functions should work by asking
> the SiteRoot/VHM for the information, instead of as today getting the
> information from the request, since you may want to find out the virtual
> path of objects in another part of the site that has another virtual root
> than the object you are calling from does.

FYI most of what you're proposing already exists in CMF (using
portal_url), it's only a matter of time before it's folded back into
Zope (Zope 3 :-).

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 10  http://nuxeo.com  mailto:fg@nuxeo.com