Re: [Zope3-Users] suppressing menu item

2006-11-16 Thread Chris Withers
Tom Dossis wrote: Is it possible, and if, how? Hi Sascha, I think if you name your page (editform) 'upload.html' rather than 'editmyfile.html' it will effectively override the base view. I suppose so, but what if I don't want to replace it, just wanna get rid of it? Don't know whether you

Re: [Zope3-Users] suppressing menu item

2006-11-15 Thread Tom Dossis
Sascha Ottolski wrote: > Am Mittwoch, 15. November 2006 23:08 schrieben Sie: >> Sascha Ottolski wrote: >>> Hi, >>> >>> I created a sub-interface of IFile, say IMyFile(IFile), which has it's >>> own "Edit" form, configured like this: >>> >>> >> for="..IMyFile" >>> schema="..IMyFile" >>

Re: [Zope3-Users] suppressing menu item

2006-11-15 Thread Sascha Ottolski
Am Mittwoch, 15. November 2006 23:08 schrieben Sie: > Sascha Ottolski wrote: > > Hi, > > > > I created a sub-interface of IFile, say IMyFile(IFile), which has it's > > own "Edit" form, configured like this: > > > >> for="..IMyFile" > > schema="..IMyFile" > > class=".EditMyFile

Re: [Zope3-Users] suppressing menu item

2006-11-15 Thread Tom Dossis
Sascha Ottolski wrote: > Hi, > > I created a sub-interface of IFile, say IMyFile(IFile), which has it's > own "Edit" form, configured like this: > > for="..IMyFile" > schema="..IMyFile" > class=".EditMyFile" > permission="zope.ManageContent" > name="editmyfile.ht

[Zope3-Users] suppressing menu item

2006-11-15 Thread Sascha Ottolski
Hi, I created a sub-interface of IFile, say IMyFile(IFile), which has it's own "Edit" form, configured like this: Now that everything works, I want to switch off the "Upload" Tab that is configured for IFile, and therefore inherited by IMyFile as well: Is it possible, and if, how? Th