swordfox/silverstripe-userform-mailchimpfield 问题修复 & 功能扩展

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

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

swordfox/silverstripe-userform-mailchimpfield

最新稳定版本:2.2.4

Composer 安装命令:

composer require swordfox/silverstripe-userform-mailchimpfield

包简介

Adds a custom field to UserForms which allows you to select a list from MailChimp and subscribe on submission.

README 文档

README

#MailChimp UserForm Field Adds a custom field to UserForms which allows you to select a list from MailChimp and subscribe on submission.

Also allows additional merge_fields to be added for each field in the form.

Installation

Via composer

composer require swordfox/silverstripe-userform-mailchimpfield
Configuration

To connect to your MailChimp field you will need to set two fields in your config.yml.

Swordfox\UserForms\EditableMailChimpField:
  api_key: 'API KEY GOES HERE'

^ These setting can be found in client settings area in MailChimp.

Customisation

You can also change what type of field is actually used on the UserForm. By Default it's a checkbox field. You can change this via your config.yml OR via the CMS per form.

Extensions

There are a few extension hooks which can be useful to handle data before and after saving throughout the process.

  • $this->extend('beforeValueFromData', $data)
  • $this->extend('afterValueFromData', $data)
  • $this->extend('updateLists', $data)

field configuration example

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-10-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固