10377 Posts in 2193 Topics by 1709 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 163 Views |
-
question on WorkflowRequest::set_alert

3 December 2011 at 8:14pm
I have installed CMS Worflow and I am trying to configure Email notification so an email is sent when an author request a publication.
I found here that I need to add to the config file:
WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'XXXX', true);
My confusion is with the XXXX parameter. The code :
function set_alert($class, $event, $group, $notify) {..} seems to imply that this must be a group but when I use :WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'Administrators', true); the message "...emailed to no-one" is
displayed after every "request for Publication" and the members of this group do not receive anything.However , when I use :
WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'publisher', true);
the Default Admin receives a notification (and I have no group labelled 'publisher' )Could someone be kind enough to explain to me how this works and how I can have notifications sent to members other
than the Default Admin?Cheers,
Lise
| 163 Views | ||
|
Page:
1
|
Go to Top |

