Wednesday, December 31, 2014

mailchimp cakephp api

Hi, I want to be able to view emails in a cakephp page sent via mailchimp.

The API is here but
Here are the instructions https://github.com/dereuromark/cakephp-mailchimp


1)Install the plugin into the APP/Plugin folder, ideally via composer. //how? I just copied the extracted zip folder instead, is this OK?



2)Make sure it is loaded - using CakePlugin::loadAll(), for example.
Use the Configure class to set the API data (via APP/Config/configs.php etc):  //there is NO SUCH FILE configs.php


//This goes where?

$config['Mailchimp'] = array(
    'apiKey' => 'YOUR_API_KEY',
    'defaultListId' => 'YOUR_LIST_ID',
    'defaultCampaignId => 'YOUR_CAMPAIGN_ID'
);

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: