webfox/silverstripe-userforms-mailchimp
最新稳定版本:v2.0.1
Composer 安装命令:
composer require webfox/silverstripe-userforms-mailchimp
包简介
Mailchimp signup field for userforms using mailchimp v3 API
README 文档
README
Mailchimp signup field for userforms
First install using composer composer require webfox/silverstripe-userforms-mailchimp
Then add your API key (and proxy details if required) to your config.yml
EditableMailchimpSubscribeField: api_key: '...' proxy: false proxy_url: 127.0.0.1 proxy_port: 8080 proxy_ssl: true proxy_user: 'username' proxy_password: 'password'
Next up add the "EditableMailchimpSubscribeField" field to your form.
If you haven't already add three fields - "Email", "First Name", "Last Name" (name them whatever you want they just need to exist).
Now click show options on the "EditableMailchimpSubscribeField". Select the list you wish to subscribe users to Select the Email Field Select the First Name Field Select the Last Name Field
Save and publish and laugh away.
In the submission and submission email there are three possible values that should be pretty obvious what they are doing:
- Subscribed
- No
- Failed (Error Message)
统计信息
- 总下载量: 434
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-08-18
