[Zope] Re: Is there a "Virtual Folder" Product??

Dieter Maurer dieter@handshake.de
Sun, 29 Jul 2001 23:54:17 +0200 (CEST)


Philipp Robbel writes:
 > K=FE=A3=C6=061=81=8CI=92=B39=98=C6=E1=9AG=A2=AF=0C=A7=8D=08Dc)=E3B=18=1F=
}=B8=85=CD=19=E8=C36=B0=85=AC=D5=11k=F1=81L=B3R=E9+V=BC=F3=C5l=E4e=BC=19<=
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD>=
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dutf-8">=
</HEAD><BODY><DIV>Hi everyone,</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>my last question regarding the MFolder product would be how to ma=
ke the=20
 > root folder of a Zope installation a MFolder? So far I can only add ne=
w MFolders=20
 > but not change an existing (=3D / root) to that.</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>It would be great if Dieter or anyone else who's using MFolder co=
uld help=20
 > me on this.</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>&nbsp;</DIV>
 > <DIV>Thanks in advance,</DIV>
 > <DIV>Philipp Robbel</DIV></BODY></HTML>
Why do you post HTML?

Why do you send me messages via BCC, rather than CC?

  I have a spam filter installed that uses similar mechanisms
  as the Zope mailing list.
  Messages not explicitely addressed are dropped.


Now to your question: You cannot put an MFolder (or any other
object) at the Zope root. The root must be an "Application"
object, "MFolder" is not such a beast.

Your options:

  *  Using a SiteAccess AccessRule to automatically
     forward requests to a subfolder.

     HowTo at zope.org

  *  You could patch the "Application"'s "__bobo_traverse__"
     method (nowadays usually done with a so call
     "HotFix" technique; HowTo on Zope.org).
     You would need to merge the "Application"'s
     "__bobo_traverse__" with that of "MFolder".



Dieter