TYPO3 Mjml.io integration
Find a file
2017-12-14 18:19:04 +01:00
Classes [TASK] Init 2017-12-14 14:00:53 +01:00
Resources/Public/Icons [TASK] Move extension icon to right place 2017-12-14 18:19:04 +01:00
.gitignore [TASK] Init 2017-12-14 14:00:53 +01:00
composer.json [TASK] Init 2017-12-14 14:00:53 +01:00
ext_conf_template.txt [TASK] Init 2017-12-14 14:00:53 +01:00
ext_emconf.php [TASK] Init 2017-12-14 14:00:53 +01:00
package.json [TASK] Init 2017-12-14 14:00:53 +01:00
README.md [TASK] Init 2017-12-14 14:00:53 +01:00

MJML

https://mjml.io integration for TYPO3 EXT:Form

MJML is a markup language designed to reduce the pain of coding a responsive email. Its semantic syntax makes it easy and straightforward and its rich standard components library speeds up your development time and lightens your email codebase. MJMLs open-source engine generates high quality responsive HTML compliant with best practices. https://mjml.io/getting-started-onboard

Installation

Over composer:

composer require saccas/mjml

NPM

Npm is needed for the conversion of the MJML file to HTML

Usage in EXT:Form

You can overwrite the default finishersEmailMixin so that he uses the MjmlEmailFinisher or create your own.

TYPO3:
  CMS:
    Form:   
      mixins:
        finishersEmailMixin:
          implementationClassName: 'Saccas\Mjml\Domain\Finishers\MjmlEmailFinisher'

MJML Documentation

https://mjml.io/documentation/