[Product-Developers] Archetypes Event-derived type without content actions menu

ajung lists at zopyx.com
Thu Apr 3 05:27:17 UTC 2014


David Glick (Plone) wrote
>>
> IViewView should be automatically applied to the default view of any 
> item (this happens in 
> plone.app.layout.globals.layout:LayoutPolicy.mark_view, which is called 
> from main_template). It sounds like that's not happening; I don't know 
> why not but that's one place you can debug.

This was the right pointer. The original implementation of the default view
of the type
implemented a redirection a different view of the type based on the user's
role. Applying IViewView to the second view now solved the problem.

Andreas



--
View this message in context: http://plone.293351.n2.nabble.com/Archetypes-Event-derived-type-without-content-actions-menu-tp7570881p7570901.html
Sent from the Product Developers mailing list archive at Nabble.com.


More information about the Product-Developers mailing list