[Zope] Restricted Products?

Chris McDonough chrism@zope.com
Wed, 08 Aug 2001 18:26:18 -0400


In 2.4, you can do this by using the product registration machinery to
unset the "global" flag for products, and use all_meta_types inside of a
particular container to show just those products.  For an example of
something that does this, see the PluginIndexes code.

Dieter Maurer wrote:
> 
>  > Is it possible to install products/ZClasses only for a particular
>  > subdirectory?  I'm looking to host several different sites and at least
>  > one will have some group-specific classes happenning, which I'd not want
>  > to interfere with other groups' stuff.
> Unfortunately not.
> 
> You can install custom folders that redefine "all_meta_types"
> and thereby hide some registered products and ZClasses.
> 
> Dieter
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
Chris McDonough                           Zope Corporation
http://www.zope.org                    http://www.zope.com

""" Killing hundreds of birds with thousands of stones """