kitzberger/form-mailtext
最新稳定版本:3.0.1
Composer 安装命令:
composer require kitzberger/form-mailtext
包简介
TYPO3 Form: Mailtexts via plugin
关键字:
README 文档
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:
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
}
}
}
Mail text
Within the mail text you can output any user input using the identifier of the input field, e.g. {text-1}.
Additionally there's an experimental feature enabling you to use if like control flows:
Hi {text-1},
you've selected {if:singleselect-1:=:}nothing{endif}{if:singleselect-1:=:1}apple{endif}{if:singleselect-1:=:2}orange{endif}{if:singleselect-1:=:3}banana{endif}.
And your other input is within an array: {if:multiselect-1:in:cat,dog,hamster}it's a pet{endif}
Apparently you like {if:selectsingle-1:=:1}bikes{else}walking{endif}
Good bye.
统计信息
- 总下载量: 109.55k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 1
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2020-03-17
