Jump to:

3444 Posts in 1030 Topics by 871 members

Template Questions

SilverStripe Forums » Template Questions » Controlling an Email Template from the CMS

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

Page: 1
Go to End
Author Topic: 597 Views
  • Yokelassence
    Avatar
    Community Member
    15 Posts

    Controlling an Email Template from the CMS Link to this post

    Quick question: Is it possible to make my Email template modifiable in the CMS?

    So if my client wanted to change, say; the subject or bodytext of the autoreply email he can do so through the CMS like most other pages?

    I've had a look around but I'm having trouble finding exact details.

  • Nobrainer Web
    Avatar
    Community Member
    134 Posts

    Re: Controlling an Email Template from the CMS Link to this post

    I would add a field to the the page that sends the email, and use $emailsubject = $this->myFieldWithDataFromCMS.

    597 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.