Email auto-notification on page add/update/approve
Permalink
Hi, all.
I need to state for the record that I'm no developer. I'm a tech writer who has been tasked with identifying the best way for my group to manage a regularly updated collection of process documents. So I discovered c5 and have used it to create the skeleton of a wiki-type site that will house these documents. The main reason I want to use c5 instead of a wiki is that c5 easily allows me to give review/approval capabilities to a supervisors group while the users group can make edits, but require approval. So far, my manager likes what I've done, but she's asking if there is a way for notification emails to be automatically generated and sent to the supervisor group (or just a single account) when a user adds a document/page or updates the content of a page.
I noticed that there is an on_page_update event, but from what I've seen in the forums, it sounds like that event only fires when the metadata of a page is updated, not the content. Did I read that correctly?
I don't need to be able to create the code for email auto-notifications just yet, but I would like to be able to let my manager know if this kind of automation is possible in c5.
Thanks.
I need to state for the record that I'm no developer. I'm a tech writer who has been tasked with identifying the best way for my group to manage a regularly updated collection of process documents. So I discovered c5 and have used it to create the skeleton of a wiki-type site that will house these documents. The main reason I want to use c5 instead of a wiki is that c5 easily allows me to give review/approval capabilities to a supervisors group while the users group can make edits, but require approval. So far, my manager likes what I've done, but she's asking if there is a way for notification emails to be automatically generated and sent to the supervisor group (or just a single account) when a user adds a document/page or updates the content of a page.
I noticed that there is an on_page_update event, but from what I've seen in the forums, it sounds like that event only fires when the metadata of a page is updated, not the content. Did I read that correctly?
I don't need to be able to create the code for email auto-notifications just yet, but I would like to be able to let my manager know if this kind of automation is possible in c5.
Thanks.
I just tested out the newest version of Concrete5 (5.4.2) and it does in fact now have an event for when pages are changed but not published. I've updated the code and added it to the bottom of the aforementioned thread:
http://www.concrete5.org/index.php?cID=186368#195126...
http://www.concrete5.org/index.php?cID=186368#195126...
Wow, that's fantastic, Jordan! Thanks so much!
http://www.concrete5.org/index.php?cID=186368...
You can actually get notified when a page is changed, but only when it is "published", not when a change is made and put into "preview" mode.
That being said, a new version of Cocnrete5 was just released that might include a new event for when a change is previewed as well, but I'm not sure (I sent a message to Mnkras who is an expert in this stuff to see if he knows).