oneup/contao-mailchimp
Composer 安装命令:
composer require oneup/contao-mailchimp
包简介
This extension connects a Contao installation with MailChimp.
README 文档
README
This Contao bundle provides subscribe and unsubscribe forms for easy integration in Contao.
--
The fields that will be shown are managed through MailChimp's List fields and *|MERGE|* tags. You may also change the order of this fields: In MailChimp, go to Signup forms > General forms > Signup Form and rearrange the fields via drag'n'drop. You then have to import the new field order into Contao, by simply re-saving the MailChimp list in the back end.
How-to
Install using the command line composer require oneup/contao-mailchimp or by using the Contao Manager.
Requires of oneup/contao-mailchimp (Composer resolves this automatically)
After installing the Contao MailChimp bundle you have to build a connection to MailChimp.
Login into the Contao Backend and go to Content > MailChimp:
- Create a new List
- Enter a name for your list
- Enter your MailChimp API Key
- Enter your subscriber List ID
Create four pages under Layout > Site Structure:
- Subscribe to the newsletter
- Subscribe confirmation
- Unsubscribe from the newsletter
- Unsubscribe confirmation
Go to Layout > Themes > Modules:
- Add a module of the type Subscribe form
- Choose your MailChimp List
- Choose the redirection page after subscription (Page: Subscribe to the newsletter)
- Choose whether you will use double opt-in for subscription
- Choose whether you will use the HTML5-Placeholder in the form fields or not
- Choose whether you will have the Contao captcha field
- Add a module of the type Unsubscribe form
- Choose your MailChimp List
- Choose the redirection page after unsubscription (Unsubscribe from the newsletter)
- Choose whether you will use the HTML5-Placeholder in the form fields or not
- Choose whether you will have the Contao captcha field
Go to Content > Articles:
- Insert the module of the type Subscribe form on the page Subscribe to the newsletter
- Insert the module of the type Unsubscribe form on the page Unsubscribe from the newsletter
Form Generator
You can also use forms of the form generator to subscribe to Mailchimp lists.
- Go to the settings of the form.
- In the Mailchimp section Enable Mailchimp.
- Select a Mailchimp list to subscribe to.
- Optionally select interest groups that new subscriptions should be assigned to by default.
- Optionally enter the name of a field which controls whether the subscription should take place or not (e.g. the field name of a newsletter checkbox).
- Optionally enable Mailchimp's double opt-in feature.
- Define the merge tags to map the form's input to the mailchimp list's fields. Note: you always need an
EMAILmerge tag. - Define optional added member tags.
Known limitations
- If the captcha option is activated and the same module is multiple times visible on the website, it won't work properly. E.g. if you have a subscription form in the footer and the same module somewhere in the content - it won't work. You'll have to have a different module for the footer then.
oneup/contao-mailchimp 适用场景与选型建议
oneup/contao-mailchimp 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 15.67k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2015 年 10 月 19 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「mailchimp」 「email」 「services」 「marketing」 「contao」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 oneup/contao-mailchimp 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 oneup/contao-mailchimp 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 oneup/contao-mailchimp 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Environment processor and contexts autoloader
A PHP client for the Salesforce SOAP API
This package includes a script and fail2ban configuration that allows you to use fail2ban when utilizing AWS elastic load balancer (ELB) and an apache webserver.
MailChimp OAuth 2.0 Client Provider for The PHP League OAuth2-Client
Manage newsletters in Laravel
The Automated Provision of Email Services (APES) module will allow you to set up an automated sync mechanism between the SilverStripe Member DataObject and MailChimp.
统计信息
- 总下载量: 15.67k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-19