定制 passionweb/form-email-contentblocks 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

passionweb/form-email-contentblocks

最新稳定版本:3.0.4

Composer 安装命令:

composer require passionweb/form-email-contentblocks

包简介

Allows adding different content elements at the beginning (introductory text) and/or at the end (email signature) of the email templates. Also, the background color and logo of the fluid email template can be edited.

README 文档

README

Allows to add a content element at the beginning (introductory text) and/or at the end (signature) of the email templates. Also, the background color and logo of the fluid email template can be edited.

Features

  • Add a content element at the beginning of the email to receiver template
  • Add a content element at the beginning of the email to sender template

Introductory text finisher for sender/receiver

  • Add a content element at the end of the email to receiver template
  • Add a content element at the end of the email to sender template

Signature text finisher for sender/receiver

  • Edit the background color and logo of the fluid email template for sender and receiver

ExtendFluidEmail finisher

Installation

Add via composer:

composer require "passionweb/form-email-contentblocks"
  • Install the extension via composer
  • Flush TYPO3 and PHP Cache

What does this extension do?

This extension provides additional finishers for the TYPO3 system extension "Form" (EXT:form). In order for this extension to work as desired, the extension must be installed and configured correctly.

Since version 1.1.0 it is possible to use form variables in the content elements.

Following finishers are available:

  • IntroductoryReceiverFinisher (Adds a content element at the beginning of the email to receiver template)

  • IntroductorySenderFinisher (Adds a content element at the beginning of the email to sender template)

  • SignatureReceiverFinisher (Adds a content element at the end of the email to receiver template)

  • SignatureSenderFinisher (Adds a content element at the end of the email to sender template)

  • ExtendFluidEmailFinisher (Edit the background color and logo (relative fileadmin paths and extension paths are possible) of the fluid email template for sender and receiver)

All previous finishers must be placed in front of the associated email finishers (EmailToSender or EmailToReceiver). Otherwise the corresponding content blocks are ignored. The same applies to the ExtendFluidEmailFinisher variables.

For each finisher, the corresponding notes are also displayed in the header of the respective finisher.

Extension configuration (TypoScript)

All necessary configurations are read in using the ExtensionManagementUtiltity:addTypoScript() function within ext_tables.php.

plugin.tx_form.settings.yamlConfigurations {
    1673535916 = EXT:form_email_contentblocks/Configuration/Yaml/BaseSetup.yaml
}

module.tx_form.settings.yamlConfigurations {
    1673535916 = EXT:form_email_contentblocks/Configuration/Yaml/BaseSetup.yaml
    1673535917 = EXT:form_email_contentblocks/Configuration/Yaml/FormEditorSetup.yaml
}

How editors can/should use the extension

  1. Create new or edit an existing form
  2. Add the finisher(s) you want to use (and place them in the right order)

Signature finisher for sender/receiver

  1. Save the form

Add form variables to content elements

Since version 1.1.0 it is possible to use form variables in the content elements or the text fields for the plaintext. You can use it in the same way as in the finisher configurations.

Form variables in content element

Troubleshooting and logging

If something does not work as expected take a look at the log file first. Every problem is logged to the TYPO3 log (normally found in var/log/typo3_*.log).

If something still doesn't work as desired after checking the logs, feel free to contact me.

Important notes

This extension does not override any of the default EXT:form finisher classes, as it uses the FinisherVariableProvider object to share variables between finishers.

But the default email templates are overwritten. If you use several extensions that overwrite the default email templates of EXT:form, conflicts can arise.

Achieving more together or Feedback, Feedback, Feedback

I'm grateful for any feedback! Be it suggestions for improvement, extension requests or just a (constructive) feedback on how good or crappy the extension is.

Feel free to send me your feedback to service@passionweb.de or contact me on Slack

统计信息

  • 总下载量: 1.1k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 3
  • 开发语言: HTML

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-01-21