Re: mailchimp cakephp api

2015-01-02 Thread ajt
I can already create and save emails with cakeemail so forget about this 
issue .

I dont have a cakephp issue I have a problem getting the API mailchimp to 
connect and then being able to access emails. 
Composer is never simple . If I am going to  to get this to work then it 
will be easier of someone can actually do i themselves .

I am using windows not linux.Here is the composer.json that comes with the 
API and what exactly do I do next.
Please dont say look at the docs as I have seen this.


{
name : dereuromark/cakephp-mailchimp,
description : A CakePHP plugin for MailChimp,
type : cakephp-plugin,
authors : [{
name : Mark Scherer,
homepage : http://www.dereuromark.de;
}
],
keywords : [
cakephp,
plugin,
mailchimp
],
homepage : https://github.com/dereuromark/cakephp-mailchimp;,
license : [
MIT
],
require : {
composer/installers : *,
php : =5.3
},
support : {
source : https://github.com/dereuromark/cakephp-mailchimp;
},
extra : {
installer-name : Mailchimp
}
}

-- 
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+unsubscr...@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.


Re: mailchimp cakephp api

2015-01-01 Thread euromark
Those are all pretty common-knowledge things regarding basic CakePHP stuff, 
if you used it for a while.
It might be best to first get a  grasp on CakePHP and a few easy things, 
and go from there.
Don't try to understand all at once.

Using composer is explained on their page. You could just drag and drop it, 
but the composer approach is usually the cleaner one
You can look at existing projects on how they leverage composer.

The configs file, if not existent can easily be created and loaded in your 
bootstrap as documented.

mark


Am Donnerstag, 1. Januar 2015 04:52:48 UTC+1 schrieb ajt:

 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+unsubscr...@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.