sorry for attaching files, but in this way may be it will be more clear.
on the Type object.gif you can see that Article can be added to Type objects.
on the Article object.gif you can see that nothing can be added to an
Article object (manually). that's why i use the filter, but the Add
menu point is still visible (rounded with read drawing). and if you
click on it you can see on the article add.gif the screen.
to complete the whole story Article can contain other Article objects,
only the manual adding needs to be disabled.


On 4/4/07, Christophe Combelles <[EMAIL PROTECTED]> wrote:
I don't really understand, do you want to hide the full Add menu, or just the
menu entry for your content object?

Remember you can also filter the menu entry by interface and not only with the
filter. (btw I've never used this filter yet)

Christophe

Ivan Horvath a écrit :
> Dear All,
>
> as i wrote in one of my previous e-mail i use filter property in
> addMenuItem directive.
> filter = context/context/isNeedtoDisplay | nothing
>
> the add menu (below the navigation tree) is not displaying for the
> certain object, but there is an  Add menu in zmi_actions menu bar.
> when i click on it it displays an empty textbox to create an object.
> how can i disappear it? or is it a bug?
>
> Ivan
> _______________________________________________
> Zope3-users mailing list
> Zope3-users@zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users
>
>

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Attachment: Type object.gif
Description: GIF image

Attachment: Article object.gif
Description: GIF image

Attachment: article add.gif
Description: GIF image

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to