Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Mail Field Editor #158

Closed
solverat opened this issue Apr 23, 2019 · 2 comments
Closed

Implement Mail Field Editor #158

solverat opened this issue Apr 23, 2019 · 2 comments
Milestone

Comments

@solverat
Copy link
Member

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

I. Automatic Layout

Already implemented!

Use default views/Email/formData.html.twig template to render email body

II. Custom Layout

Already implemented!
Note: Deprecated in favour to the new layout editor

If mail_disable_default_mail_body email-property has been defined, no layout gets rendered: User needs to build the email body by using field placeholders

III. Layout Editor

Implement Mail Field Editor in the base section of each form. If no layout has been defined, the automatic layout will be used instead.

solverat added a commit that referenced this issue Apr 26, 2019
@solverat solverat mentioned this issue Apr 26, 2019
solverat added a commit that referenced this issue Apr 29, 2019
* implement mail builder, see #158

* cleanup + add modifier dialog

* refactor mail layouter: allow multiple locale definitions and config attributes

* clean up + docs

* doc fix

* fix placeholder test

* fix ecs

* respect label option in container
@solverat
Copy link
Member Author

solverat commented Apr 29, 2019

Missing:

@solverat solverat added this to the 2.7.0 milestone Apr 29, 2019
@solverat
Copy link
Member Author

Layout Definition:

Add configurable layout selector:

  • layoutA: @AppBundle\FormBuilder\MailEditorLayout\default.html.twig
  • layoutB: @AppBundle\FormBuilder\MailEditorLayout\emailizr.html.twig
  • layoutC: @AppBundle\FormBuilder\MailEditorLayout\plain.html.twig

Emailizr Template Rows:

  • one column
  • two column

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant