On Monday 18 June 2007 14:18, Markus Leist wrote: > what's the best/preferred way of dynamically restricting possible object > types in the root-folder of a zope3.3-instance?
I usually do not use the Zope 3 root as the root of my application, since I want to (1) have multiple applications per Zope 3 instance/DB, and (2) have a custom site object. Your case is the latter. I would really like to tell you that it is possible to register an adapter for the root folder factory, but this is not the case. See zope.app.appset.bootstrap, line 182. Thus the only solution is to not use the root folder as the root of your application, but create a sub-site. Then use Apache to hide the unwanted path details. Note that you usually write customs skins anyways, which warrants an Apache rewrite rule. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users