Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

A editable FormField for SilverStripe UserForms that'll let you add Subscribers to a Mailchimp list per API with groups

License

Notifications You must be signed in to change notification settings

lerni/EditableMailchimpSubscriptionField

Repository files navigation

EditableMailchimpSubscriptionField

A Field for UserForms (EditableFormField) that'll let you add Subscribers to a MailChimp list with groups.

Installation

The easiest way is to use composer:

composer require lerni/editablemailchimpsubscriptionfield

If you just clone/download this repository make sure you have the required packages also installed.

"require": {
    "silverstripe/userforms": "dev-master",
    "drewm/mailchimp-api": "dev-master"
},

Add your MailChimp API-Key per _config

`NewsletterSignup::set_api_key('...');`

Run dev/build afterwards.

Status

The module just basically works :) hope pushing it here keeps me going.

How to use

Currently the Fieldnames in MailChimp and the Fieldnames in the Form need to match and you still need to map manually in the options of the field.

About

A editable FormField for SilverStripe UserForms that'll let you add Subscribers to a Mailchimp list per API with groups

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published