-
- 293 Posts
Hi! I need a small changes on "save" action during resources update:
suppose that I’ve 2 profile
Profile X (admin users)
Profile Y ("Content Editor" Access Policies)
Profile Y can’t publish resources (this is a default setting of Modx 2.0.8) but I’d like automatically send a mail message (notification message) to admin when this user click on "save" button.
Is it possible?
Thanks
modx version: revo 2.0.8
anticipated start time: ASAP
payment terms: paypal
Thanks
-
- 293 Posts
Nobody can help me?
Thanks
Create a plugin which fires on the "onDocFormSave" event.
Then use modMail to send an email:
http://rtfm.modx.com/display/revolution20/modMail
To only trigger it when a certain user group is posting, you’d have to do some checks there, based of $modx->user probably.
Aint too hard to do, but I’m currently not really accepting new projects... I do have a special rate for when a project needs priority treatment - feel free to send me an email (see signature) if you want more information on that and I can see if it’s possible to find some time in between projects for this.