Forums / Developer / notification on state change
Marko Žmak
Tuesday 09 August 2011 5:53:38 pm
When using subtree notifications...
It seems like there's no posibility to receive email notification when a state of an object is changed.
So imagine this scenario:
So in this scenarion the regular users that are subscribed to a category won't be notified when an object in this category becomes visible to them (changes state to "approved and published").
Adding create-notification part to the body of updateobjectstate operation would solve this.
Would this be the right way to add this feature?
P.S. I have played a little bit with it and it works with just a few modifications to kernel/content/operation_definition.php and kernel/state/assign.php.
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth