mhuber84/form-mailchimp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

mhuber84/form-mailchimp

最新稳定版本:3.0.0

Composer 安装命令:

composer require mhuber84/form-mailchimp

包简介

TYPO3 CMS Extension to connect EXT:form to mailchimp

README 文档

README

This extension adds a finisher for the TYPO3 sysext "form" to register the user to your Mailchimp audience.

When you add the form finisher, you can select the email field and the newsletter field in your form and define the Mailchimp list id. You can also define tags. If a user submits the form he is added to your Mailchimp audience.

Installation

  1. Install with composer require mhuber84/form-mailchimp

  2. Include TypoScript Check if this overwrites your own settings and adjust if necessary! :-)

  3. Include finisher in your form

  4. Configure API in ExtensionManager

Example form with mailchimp finisher

type: Form
identifier: newsletter_registration
label: 'Newsletter registration'
prototypeName: standard
renderingOptions:
  submitButtonLabel: Send
finishers:
  -
    options:
      mailchimpListId: 'YOUR-MAILCHIMP-LIST-ID'
      email: '{email}'
      newsletter: '{newsletter}'
      fieldMapping:
        FNAME: '{firstname}'
        LNAME: '{lastname}'
      mailchimpTags: 'Tag1, Tag2'
    identifier: Mailchimp
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
    type: Page
    identifier: page-1
    label: ''
    renderables:
      -
        type: GridRow
        identifier: gridrow-1
        label: 'Grid: Row'
        renderables:
          -
            type: Fieldset
            identifier: fieldset-1
            label: ''
            renderables:
              -
                defaultValue: ''
                type: Text
                identifier: firstname
                label: Firstname
              -
                defaultValue: ''
                type: Text
                identifier: lastname
                label: Lastname
              -
                defaultValue: ''
                type: Email
                identifier: email
                label: E-Mail
                properties:
                  fluidAdditionalAttributes:
                    required: required
                  validationErrorMessages:
                    -
                      code: 1221560910
                      message: Required
                    -
                      code: 1221560718
                      message: Required
                    -
                      code: 1347992400
                      message: Required
                    -
                      code: 1347992453
                      message: Required
                validators:
                  -
                    identifier: EmailAddress
                  -
                    identifier: NotEmpty
              -
                type: Checkbox
                identifier: newsletter
                label: 'Newsletter'

Author

Marco Huber, @mhuber84@troet.cafe, mail@marco-huber.de

Feel free to contribute and send in pull requests or create an issue on https://gitlab.com/mhuber84/form-mailchimp

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

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