Re: [Zope3-Users] Add menu
On Wednesday 16 November 2005 06:31, [EMAIL PROTECTED] wrote: > We're a little at loss because the Add menu disappeared from the pages, > though, and we can't make out the logic behind its behaviour. Can you access the adding view manually? mycontainer/+/index.html If not, you need to register the adding views yourself, of course. I bet you then the add menu will reappear. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Add menu
We're redefining the container views in the project we're working at. We have not yet redefined the skin (more on that in a later mail :), and we're still using rotterdam. We're a little at loss because the Add menu disappeared from the pages, though, and we can't make out the logic behind its behaviour. Can someone shed some light on the logic behing the display of this menu? Ciao Guido ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
Re: [Zope3-Users] Add menu item creation
[EMAIL PROTECTED] wrote: From: Dmitry Vasiliev [EMAIL PROTECTED] Date: Tue, 26 Jul 2005 11:14:35 +0400 To: zope3-users@zope.org Subject: [Zope3-Users] Add menu item creation Hi! Is this a way to create the add menu item without the separate addMenuItem directive? For example if I write: I've got the following error: ConfigurationError: ('Invalid value for', 'menu', 'ImportError: Module zope.app.container has no global add') Maybe the menu id should be changed? Hi Dmitry, Your analyse was correct: the menu-id may be incorrect. The menu-id has to be declared in ZCML before it's use in ZCML. Like: In this case zmi_views is the menu-id to be used. So the question is: Should the menu id 'zope.app.container.add' be changed to something like 'container_add' in zope/app/menus.zcml? -- Dmitry Vasiliev (dima at hlabs.spb.ru) http://hlabs.spb.ru ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
RE: [Zope3-Users] Add menu item creation
Hi Dmitry, Your analyse was correct: the menu-id may be incorrect. The menu-id has to be declared in ZCML before it's use in ZCML. Like: In this case zmi_views is the menu-id to be used. Marc Original Message: - From: Dmitry Vasiliev [EMAIL PROTECTED] Date: Tue, 26 Jul 2005 11:14:35 +0400 To: zope3-users@zope.org Subject: [Zope3-Users] Add menu item creation Hi! Is this a way to create the add menu item without the separate addMenuItem directive? For example if I write: I've got the following error: ConfigurationError: ('Invalid value for', 'menu', 'ImportError: Module zope.app.container has no global add') Maybe the menu id should be changed? -- Dmitry Vasiliev (dima at hlabs.spb.ru) http://hlabs.spb.ru ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users mail2web - Check your email from the web at http://mail2web.com/ . ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users
[Zope3-Users] Add menu item creation
Hi! Is this a way to create the add menu item without the separate addMenuItem directive? For example if I write: I've got the following error: ConfigurationError: ('Invalid value for', 'menu', 'ImportError: Module zope.app.container has no global add') Maybe the menu id should be changed? -- Dmitry Vasiliev (dima at hlabs.spb.ru) http://hlabs.spb.ru ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users