rojr/scaffold-email-templates

dev-master 2017-08-30 17:04 UTC

This package is auto-updated.

Last update: 2024-10-29 04:53:18 UTC


README

A Rhubarb Scaffold that aspires to make the editing of email templates easy for users

Theory behind it is that every TemplatedFile would have a Template Object behind it, which can be changed and modified to suit the end users needs. The Files only serve as defaults.

Each Email Template can have a parent, but the parent must support having children with a {ChildContent} element somewhere in the template.

Usage

As with all Rhubarb repos, this one requires https://getcomposer.org/download/.

Once that's in, simply composer require rojr/scaffold-email-templates

Future Ideas

  • I'm looking to add support for Models being integrated into the Templates, and all the relationships following too.
  • Possibly change out the templating engine to https://www.smarty.net/ to support complex templates with if statements and for loops
  • Create special controls that allow very easy HTML editing of templates, with live previews of the whole relationship (i.e If a child is being edited, display how it looks in the parent(s))