rojr / scaffold-email-templates
dev-master
2017-08-30 17:04 UTC
Requires
- rhubarbphp/module-leaf: ^1.1.10
- rhubarbphp/module-stem: ^1.3.14
- rhubarbphp/rhubarb: ^1.3.16
This package is auto-updated.
Last update: 2024-11-29 05:03:37 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))