Tuesday 30 December 2008 9:22:10 pm
Deane, <i> > Is it possible to create new trigger points? I'd like to hook workflow events into the create, edit, move, and remove functions.</i> Yes. You can add ini settings and php code into a patched kernel or extension module to provide for the execution of additional triggers. [1-6] <i> >We're trying to get some audit trail functionality. Our client wants a log of all the actions that have been taken on content in their install.</i> Neat idea! Seems fairly reasonable request. <i> > I thought about using the notification system, but it doesn't seem to log a notification event for a removal of content. </i> Perhaps a question of which would be simpler to add. The notification trigger is simple enough to create yet not as useful to others as a patch to add a default content removal notification to admin user group users subscribed to that node (perhaps with instructions on how to restore the node if needed / trash system was used in removal)
hth, Heath
[1] http://pubsvn.ez.no/nextgen/trunk/kernel/shop/operation_definition.php
[2] http://pubsvn.ez.no/nextgen/trunk/kernel/shop/ezshopoperationcollection.php
[3] http://pubsvn.ez.no/nextgen/trunk/kernel/shop/add.php
[4] eZOperationHandler::execute()
[5] http://pubsvn.ez.no/nextgen/trunk/settings/workflow.ini [6] [OperationSettings] AvailableOperationList[]
Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org
|