Skip to content
General Revolution Evolution Add-ons International
Login | Register | MODX.com
MODX Open Source Content Management System, Framework, Platform and More.
Find a Partner | Hosts + SaaS | Jobs | Donate
  • RegisterSign Up with the MODX Community
  • LoginUse Your MODX.com Account
  • MODX Community Forums
  • General
  • Archive
  • Commercial Inquiries & Bounties
  •  
  • Send mail when user insert/updates a resource#

  • 12793
    293

    il_dandi Reply #1, 1 year ago

    Reply
    • Link to this post#1
    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. 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


  • 12793
    293

    il_dandi Reply #2, 1 year ago

    Reply
    • Link to this post#2
    Nobody can help me?

    Thanks


  • 18373
    1,869
    Mark Hamstra
    Senior Developer, MODX Complete Team
    MODX, LLC

    Email: support@modx.com
    Twitter: @mark_hamstra
    Web: modx.com | Twitter: @modxcms | Facebook: modxcms, MODX.Nederland

    Also visit my Github profile, personal website and MODX Blog for more MODX goodness.

    Mark Hamstra - MODX Complete Team Reply #3, 1 year ago

    Reply
    • Link to this post#3
    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.


  • 18373
    1,869
    Mark Hamstra
    Senior Developer, MODX Complete Team
    MODX, LLC

    Email: support@modx.com
    Twitter: @mark_hamstra
    Web: modx.com | Twitter: @modxcms | Facebook: modxcms, MODX.Nederland

    Also visit my Github profile, personal website and MODX Blog for more MODX goodness.

    Mark Hamstra - MODX Complete Team Reply #4, 1 year ago

    Reply
    • Link to this post#4
    Here's some info on Plugins: http://rtfm.modx.com/display/revolution20/Plugins

    And the earlier link I posted about sending mails with MODX: http://rtfm.modx.com/display/revolution20/modMail





Actions

Login to Post

Other Support Options

To file a bug or make a feature request visit our issue tracker, or you can also purchase commercial support.

Love MODX?

If you build sites for a living with MODX or just love using it, why not give back?

Information

Posted in this thread:
il_dandi, markh

 
Back to Top

MODX Global HQ

1333 N Stemmons Fwy, Ste 110
Dallas, TX 75207
United States

+1 (469) 777-MODX (6639)

The MODX Company

  • Contact
  • Media Center
  • Careers at MODX
  • Wall of Fame
  • The MODX Blog

Sponsors

SoftLayer Firehost: Secure Cloud Hosting

Stay Connected

Read our previous email newsletters.

Twitter Facebook Google+ LinkedIn github Feeds

Privacy Policy | Terms of Service | Pixels by AKTA Web Studio© 2005-2012 MODX. All rights reserved. Trademark Policy