[opencms-dev] Catch onsave event in I_CmsEventListener
chuck.mysak at gmail.com
Mon Feb 15 13:09:57 CET 2010
I'm trying to catch the save-and-exit event from the editor but from what I
see in I_CmsEventListener, this can't be done so easily.
I tried EVENT_RESOURCES_AND_PROPERTIES_MODIFIED, but I get the temporary
(prefixed with ~) resource, that is created at the moment of editing, and
deleted afterwards. I also tried to catch the EVENT_RESOURCE_CREATED event,
and then I ended up dubling the two events (the temporary resource is first
created and then modified).
What I'm trying to achieve is a log of all the resources modified in the
offline project, after the user saves from the editor.
Thank you in advance
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opencms-dev