[Zope] My Add list is so full...
peter bengtson
peter@grenna.net
Tue, 16 Jan 2001 10:41:34 -0000
<simple solution untested>
Add a (lines) property (called: i_filter_meta_types) in the root of the
meta_type name of the objects you don't want to use. I.e
DTML Document
XMLDocument
....
Next, you modify the file main.dtml in lib/python/OFS
At around line 95-100 you'll see this:
<dtml-in filtered_meta_types mapping sort=name>
<OPTION value="<dtml-var action fmt="url-quote">"><dtml-var name>
</dtml-in>
Change this to something like this:
<dtml-in filtered_meta_types mapping sort=name>
<dtml-unless "name in i_filter_meta_types">
<OPTION value="<dtml-var action fmt="url-quote">"><dtml-var name>
</dtml-unless>
</dtml-in>
</simple solution untested>
<Peter Bengtsson />
----- Original Message -----
From: "Francois-regis Chalaoux"
<Francois-regis.Chalaoux@sanofi-synthelabo.com>
To: <zope@zope.org>
Sent: Tuesday, January 16, 2001 8:44 AM
Subject: [Zope] My Add list is so full...
> Hi,
>
> Since long time ago I have this reflexion. Now I have installed so many
> thing in Zope the add list combobox is huge :
>
> There are too many meta-type item in add list. Is is possible to
> organize sublist of meta-type into products sublist ?
>
> FRC
>
> _______________________________________________
> 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 )
>