[Zope3-dev] menu items and layers

Garrett Smith garrett at mojave-corp.com
Mon Oct 6 13:58:27 EDT 2003


It's currently possible to declare a page on a specific layer, resulting 
in an invalid menu item for all other layers. E.g.

   <page
     for="*"
     name="mypage.html"
     permission="zope.View
     template="mypage.pt"
     menu="zmi_actions"
     title="My Page"
     layer="mylayer" />

A 'My Page' menu item will show up in the zmi actions menu for all 
layers (including the default), but it's only valid for 'mylayer'.

It seems to me that menu items should support layers. Is this something 
that should be added to the tracker?

  -- Garrett





More information about the Zope3-dev mailing list