This code is no longer being maintained.
A select field for kirby cms that lists your mailchimp lists in a select field
How to use :
-
Unzip the files into fields/mailchimpselect directory
-
In your config.php add
c::set('mailchimpAPI', "Your Mailchimp Key");
-
In your blueprint file add the next lines
fields: mailchimplist: label: Mail Chimp List type: mailchimpselect
Then you will have the list of all the mailchimp lists available to you.
The select field will show the names of the lists and will return their ID so they can be used with the mailchimp php api (I used this in the code https://bitbucket.org/mailchimp/mailchimp-api-php/downloads)