kitzberger/form-mailtext

TYPO3 Form: Mailtexts via plugin

Installs: 770

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 2

Open Issues: 2

Type:typo3-cms-extension

2.0.1 2020-12-09 20:38 UTC

This package is auto-updated.

Last update: 2021-04-09 21:32:20 UTC


README

This extension enhances the email finishers of EXT:form by a new field 'Mail text' (message) that allows the editor to define the mail text within the form plugin in the backend:

Form plugin

EmailFinisher override

For this to work the email finisher class of EXT:form is being overridden by our EmailFinisher, so the message variable can be passed through to the template Finishers/Email/Html.html where it's being processed by RenderMessageViewHelper and rendered to all created emails.

TypoScript

The following TS setup is added automatically via ext_typoscript_setup.typoscript:

plugin.tx_form {
    settings {
        yamlConfigurations {
            100 = EXT:form_mailtext/Configuration/Form/MailtextFormSetup.yaml
        }
    }
}
module.tx_form {
    settings {
        yamlConfigurations {
            100 = EXT:form_mailtext/Configuration/Form/MailtextFormSetup.yaml
        }
    }
}