Apparently menus are sorted first on the order Interfaces are defined
(at least as returned by providedBy(removeSecurityProxy(object)).__iro__).
But how can I control that order?
Also, which maybe is more of a question for the zope3 developers
which I assume is on this list as well :-), woundn't it be a
good idea to have someway of overriding the order of menus.
Maybe just swaping the order of the sorting items from:
(ifaces.index(item._for or Interface), item.order, item.title, item)
(item.order, ifaces.index(item._for or Interface), item.title, item)
But order doesn't seem to be implemented everywhere?
For instance not all ZCML directives that implement the menu (MenuField)
implemets the order field?
Johan Carlsson Tel: + 46 8 31 24 94
Colliberty Mob: + 46 70 558 25 24
Torsgatan 72 Email: [EMAIL PROTECTED]
SE-113 37 STOCKHOLM
Zope3-users mailing list