[Zope-CMF] Adding categories to portal_actions
Chris Withers
chrisw at nipltd.com
Fri Sep 5 15:29:40 EDT 2003
David Chandek-Stark wrote:
> I want to new categories of actions that I can leverage with the
> portal_actions tool (like Plone's portal_tabs). Is there a way to do
> this without modifiying CMFCore/ActionsTool.py? I can get it to work by
> modifying the listFilteredActions method, adding my category to the
> filtered_actions mapping.
I do this by just using the new categories I want. They then appear as new keys
in the dictionary returned by listFilteredActionsFor.
What lead you to believe you needed to modify the core code to make this work?
Chris
More information about the Zope-CMF
mailing list