- Add Mailchimp API Key in systemsettings: mailchimpsubscribe.mailchimp_api_key
- Option 1: Create a new single select TV variable and set the input option values to:@EVAL return $modx->runSnippet('MailchimpGetLists');
- Add Mailchimp List ID TV in systemsettings: mailchimpsubscribe.list_tv
- Option 2: Set the FormIt scriptProperty &mailchimpListId to the correct Mailchimp List ID
- Add MailchimpSubscribe to your FormIt hooks
- Add in your chunk the placeholder fi.error.mailchimp, which holds all Mailchimp error messages.
- Add a field called newsgroup, if the value of this field is set to yes, the user will be subscribed to the mailchimp list.
This is a free extra and the code is publicly available for you to change. The extra is being actively maintained and you're free to put in pull requests which match our roadmap. Please create an issue if the pull request differs from the roadmap so we can make sure we're on the same page.