[Zope-CMF] CMFActionIcons vs. new-style actions

Tres Seaver tseaver at palladion.com
Thu Sep 18 07:27:30 EDT 2008

Hash: SHA1

Jens Vagelpohl wrote:
> On Sep 13, 2008, at 15:28 , Jens Vagelpohl wrote:
>> Question: Wouldn't it make sense to enable the new action icons
>> functionality in the various templates to show icons if an expression
>> for an icon is provided, and completely retire the CMFActionIcons
>> product?
> This has now landed, in several chunks because it turned out to be
> more work and a larger change set than expected, on the CMF trunk.
> Silly me thinking most of my work was done when Yuppie thoughtfully
> added a icon URL expression property to the new-style actions ;-)
> Additional work included...
>   - extend the "old-style" actions, those you see e.g. on a type
> information "Actions" tab in the ZMI, to also have a field for an icon
> URL expression
>   - extend the DCWorkflow Transition and Worklist classes, which store
> the information for their own action directly on the class, to have an
> icon URL expression field
>   - add a portal setting, also available through the "Reconfigure
> portal" CMF screen, to switch the icons on or off globally.
>   - change the basic main_template in CMFDefault/skins/zpt_generic to
> look for the global icon flag and icon data from the actions
>   - fix up some existing CMFActionIcons icons and search for a whole
> bunch of additional icons
> I'm not the greatest artist in the world, if anyone dislikes a
> particular icon please feel free to replace it with something that
> makes sense to a normal user. Just make sure it has a transparent
> background.

Great!  Thanks for the work!

- --
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Zope-CMF mailing list