Download the PHP package swordfox/silverstripe-userform-mailchimpfield without Composer
On this page you can find all versions of the php package swordfox/silverstripe-userform-mailchimpfield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download swordfox/silverstripe-userform-mailchimpfield
More information about swordfox/silverstripe-userform-mailchimpfield
Files in swordfox/silverstripe-userform-mailchimpfield
Package silverstripe-userform-mailchimpfield
Short Description Adds a custom field to UserForms which allows you to select a list from MailChimp and subscribe on submission.
License BSD-3-Clause
Informations about the package silverstripe-userform-mailchimpfield
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
Configuration
To connect to your MailChimp field you will need to set two fields in your config.yml.
^ 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)

All versions of silverstripe-userform-mailchimpfield with dependencies
silverstripe/framework Version ^5
silverstripe/userforms Version ^6
drewm/mailchimp-api Version ^2.5
symbiote/silverstripe-gridfieldextensions Version ^4
composer/installers Version *