[Zope-CMF] CMFActionIcons vs. new-style actions
    Jens Vagelpohl 
    jens at dataflake.org
       
    Thu Sep 18 03:52:51 EDT 2008
    
    
  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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.
jens
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
iEYEARECAAYFAkjSCNMACgkQRAx5nvEhZLIF7wCdFFBqbko8L5ACgR1WZ9NzOox2
5fUAn3X8uo6AcJsBEzq9mOJbrQh0K+TA
=oW68
-----END PGP SIGNATURE-----
    
    
More information about the Zope-CMF
mailing list