[Zope-CMF] How to add portal_type selectively?

Ausum Studio ausum_studio@hotmail.com
Wed, 4 Sep 2002 12:45:42 -0500


You can create almost any portal object programatically using
InvokeFactory(look for previous messages on this sibject). Now if you don't
want it to appear at the "add content" screen, uncheck the "Implicitly
addable?" option at the type's property (within portal_types).



Ausum




----- Original Message -----
From: "Hariharan Gopalan" <hari@sapta.com>
To: <zope-cmf@zope.org>
Sent: Wednesday, September 04, 2002 4:47 AM
Subject: [Zope-CMF] How to add portal_type selectively?


> How can I add a portal_type without having it show up for all members?
>
> the reason I need to do this is:
>
> want to add a folder type object that can be customised to show its
contents
> ( which are going to be a few forums) as object tabs, instead of the usual
> folder object tabs
>
> I am using plone a4, o zope 2.51 - suse 7.3
>
> TIA
> Hari
>
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://collector.zope.org/CMF for bug reports and feature requests
>