Forums / Developer / Customise notifications / Comment43324
Paul Borgermans
Thursday 16 June 2005 3:17:35 am
I think I found it (at least it works like you want here on a live ezp 3.4.6 site):
in file kernel/classes/notification/handler/ezsubtree/ezsubtreehandler.php
around line 122 uncomment the part that checks for an updated version.
So change
... if ( //$versionObject->attribute( 'version' ) != 1 || $versionObject->attribute( 'version' ) != $contentObject->attribute( 'current_version' ) ) { return EZ_NOTIFICATIONEVENTHANDLER_EVENT_SKIPPED; } ....
to
... if ( $versionObject->attribute( 'version' ) != 1 || $versionObject->attribute( 'version' ) != $contentObject->attribute( 'current_version' ) ) { return EZ_NOTIFICATIONEVENTHANDLER_EVENT_SKIPPED; } ....
hth
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans