Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » CMS Workflow Email Issues

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 980 Views
  • plajoie
    Avatar
    Community Member
    4 Posts

    CMS Workflow Email Issues Link to this post

    I'm running SS 2.4 with the CMS workflow 1.0RC4 and where having problems with the email notification. When you login has a publisher and do the workflow process all of the email are sent correctly. But when you login has an editor no emails are sent when you click on request publication. The message they get at the bottom in green is no email was sent.

  • mark_s
    Avatar
    Community Member
    78 Posts

    Re: CMS Workflow Email Issues Link to this post

    Hi. Emails can be configured by calling WorkflowRequest::set_alert(). This lets you override the defaults.

    For example, to enable having an email sent to the author when they request a change, do this:

    `
    WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'author', true);
    `

    By default, when an author requests publication of a change the publisher gets an email (I'm assuming you're using the 2-step workflow)

    Mark

  • plajoie
    Avatar
    Community Member
    4 Posts

    Re: CMS Workflow Email Issues Link to this post

    Thanks you got me on the right track

    This solved my issue
    WorkflowRequest::set_alert('WorkflowPublicationRequest', 'request', 'publisher', true);

    980 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.