CMFActionIcons README
Overview
This product is a add-on for the Zope Content Management Framework (CMF). It should be useful with Plone, CPS, and other CMF-derived extensions, as well. The product provides:
- A new tool,
portal_actionicons
, which serves as a registry mapping object actions (using category and action ID) to a descriptive title, a priority, and an icon ID. The tool post-processes a set of actions (i.e., those generated by theportal_actions
tool), decorating them with additional information, and sorting them according to priority. - ZPT macros which build either horizontal or vertical icon bars for a set of actions.
License
This product is licensed under the terms of the Zope Public License (ZPL), version 2.0. See http://www.zope.org/manage_copyright.
Installing the Product
- Download the tarball or the zipfile
- Unpack it into a temporary directory.
- Move the CMFActionIcons subdirectory into the
Products
directory of you$INSTANCE_HOME
. - Restart Zope.
Using the Product in a CMF Site
- In the ZMI of your site, choose
CMFActionIcons Tool
from the add list; select the (only) option on the form, and click "Add". - Configure the action bindings manually, using the tool's ZMI. You
may want to look at the "starter set" of bindings in the
standard_mappings.py
module; unfortunately, these are not yet "wired up" to install automagically. - In the ZMI of the skins tool, add a Filesystem Directory View,
using
CMFActionIcons.skins.actionicons
. - On the "Properties" tab of the skins tool, bind the
actionicons
folder into your skin search path. - Add one of the supplied macros to the main template of your site,
in place of an actions box. E.g, in a CMFDefault site, replace the
<!-- actions box -->
section with the following macro: