[Product-Developers] Archetypes Event-derived type without content actions menu
David Glick (Plone)
david.glick at plone.org
Wed Apr 2 15:56:55 UTC 2014
On 4/1/14, 2:02 AM, ajung wrote:
> Hi there,
> we have legacy system (not out code) running on Plone 4.2.6. It contains a
> custom AT-based
> event type. This type shows up with an empty div.contentActions while all
> other types show the standard Plone menu bar.
> The empty div is generated through this viewlet definition in
> while the standard menu is generated through this viewlet definition
> I really wander why the second viewlet definition does not work in our case
> - not even for
> the standard base_view.
> Almost all of the code had been autogenerated through Zopeskel and the
> minimum customization appear fine. I fact I have never heard of IViewView.
> What could be the reason that even base_view would show up without content
> actions menus?
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.
More information about the Product-Developers