Extras catalogue
Mailchimp for FormIt
Latest release 4 years ago (January 4, 2022).
mailchimpsubscribe
About
This extra adds subscribers to Mailchimp lists using FormIt and the Mailchimp API. It adds a snippet for retrieving Mailchimp lists in a single select TV and a FormIt hook for subscribing Mailchimp users to the list provided in the pages Template Variable.
Installation & usage
Package for subscribing users in Mailchimp lists using FormIt.
Adds a snippet for retrieving Mailchimp lists in a single select TV and a
FormIt hook for subscribing Mailchimp users to the list provided in the pages Template Variable.
Functionalities
* FormIt hook for subscribing users to Mailchimp lists based on TV value
* MailChimpGetLists: Snippet for creating a select list of MailChimp lists.
How to get set up
* Add MailChimp API Key in systemsettings: mailchimpsubscribe.mailchimp_api_key
* 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
* 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.
Properties
* mailchimpListId: Mailchimp List ID.
* mailchimpFields: Configuration containing the field mapping between FormIt form and Mailchimp merge tags.
* mailchimpSubscribeField: Field name to use for subscribing users to mailchimp.
* mailchimpSubscribeFieldValue: Field value to use for subscribing users to mailchimp.
Example usage
`
&validationErrorMessage=`true`
&store=`1`
&submitVar=`newsletter-submit`
&mailchimpListId=`12345678abc`
&mailchimpFields=`name=FNAME,email=EMAIL`
&mailchimpSubscribeField=`newsletter`
&mailchimpSubscribeFieldValue=`1`
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer sterc
- Latest release January 4, 2022 (4 years ago)
- First seen in SiteDash January 4, 2022 (4 years ago)
- License GPLv2
- MODX support 2.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.2.4-pl |
January 4, 2022
4 years ago |
|
|
**MailChimpSubscribe 1.2.4-pl**
- Added support for interests **MailChimpSubscribe 1.2.3-pl** - Fix empty merge_fields bug (issue #1) - Add a log statement to ease debugging of errors (PR #2, thanks to Mark-H) **MailChimpSubscribe 1.2.2-pl** - Prevent mailchimpsubscribe from stopping the form process unless mailchimpValidate property is set to true **MailChimpSubscribe 1.2.1-pl** - Update README.md **MailChimpSubscribe 1.2.0-pl** - Added option dynamic setting the subscription status to overwrite double opt-in. - Added options to add tags to subscription |
|||
| MODX.com |
1.2.3-pl |
July 8, 2021
5 years ago |
— |
| MODX.com |
1.2.1-pl |
April 5, 2019
7 years ago |
— |
| MODX.com |
1.0.1-pl |
November 23, 2018
8 years ago |
— |
| MODX.com |
1.0.0-pl |
December 20, 2017
8 years ago |
— |
|
No matching releases. |
|||
We've also seen 3 unverified versions of Mailchimp for FormIt in use, but don't list those as we've been unable of confirming they are official releases from an official source.