Dylan Reinhardt wrote:
Is there a simple/correct way to suppress a menu item using ZCML?For example, I have a content type that implements IAttributeAnnotatable and I want to suppress display of the "Metadata" tab in zmi_views. I expected this would work: ---- <menuItem for="foo.interfaces.IFoo" menu="zmi_views" title="Metadata" action="EditMetaData.html" filter="python:0" /> __
This is the normal way to do it yes.
When my content interface *inherits* from an interface, this seems to work... but when my class *implements* an interface, this appears not to.
I don't know what you mean. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714 http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org _______________________________________________ Zope3-users mailing list [email protected] http://mail.zope.org/mailman/listinfo/zope3-users
