nswdpc/silverstripe-chimple 问题修复 & 功能扩展

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

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

nswdpc/silverstripe-chimple

最新稳定版本:v2.0.0-rc1

Composer 安装命令:

composer require nswdpc/silverstripe-chimple

包简介

Chimple - Simple Mailchimp handling in Silverstripe

README 文档

README

This module allows you to create and update Mailchimp list subscriptions via a Silverstripe app/website.

Developers

It supports:

  • a subscription controller
  • multiple configuration records for setting multiple list/audience combinations
  • multiple forms on the same page, for the same list
  • a spam protection module
  • a default configuration record assigned in Settings/SiteConfig
  • configurable defaults in yaml
  • queued jobs to handle subscription and failure checking
  • a Mailchimp model admin to view current subscriptions and subscription results
  • an Elemental subscription form element - documentation
  • merge fields support
  • tags for subscribers
  • ability to submit a form with or without (via XHR) redirecting
  • patch previously subscribed list/audience members
  • optionally remove current subscriber tags

It doesn't support:

  • Managing audience members, use the Mailchimp administration area for that.

Setup

  • Configure your Mailchimp API key and list (audience). You will find this in the Mailchimp account settings and relevant audience, respectively.
  • In your website, set up one or more configurations
  • Assign one of those as the default for the website
  • Ensure queues are running, or get a developer to do this for you.
  • Test a subscription to your lists

Further documentation beyond the basics is available

Configuration

Example environment configuration, using the values provided by Mailchimp:

CHIMPLE_API_KEY="Your Mailchimp key"
CHIMPLE_DEFAULT_LIST_ID="Your default Mailchimp list/audience id"

Further integration

Spam protection

Use a spam protection module to block spammy submission attempts on the form. The NSWDPC reCAPTCHAv3 module is a good option.

If a module is installed, the subscription form will detect this and enable the default spam protector on the form.

Requirements

See composer.json

Installation

The only supported method of installation is via composer:

composer require nswdpc/silverstripe-chimple

License

BSD-3-Clause

See License

Maintainers

NSW DPC Digital

Credits

This module is a combination of work contributed to various projects over the years by the NSW DPC Digital team and Symbiote.

Bugtracker

Please raise bugs (with instructions on how to reproduce), questions and feature requests on the Github bug tracker

Security

If you have found a security issue with this module, please email digital[@]dpc.nsw.gov.au in the first instance, detailing your findings.

Development and contribution

If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2020-10-15