Mailchimp newsletter subscriptions |
[eluser]doubleplusgood[/eluser]
Hey there, I was wondering if anyone has had experience producing a newsletter signup form that connects to a Mailchimp list? I'm trying to find a sample that will set some flashdata success and failure messages also. Attempted this myself by placing the mailchimp mcapi class as a library and then calling this in my newsletter controller; Code: class Newsletter extends Controller { Simple signup form in my view; Code: <?php echo form_open('newsletter/storeAddress'); ?> If anyone has any advice/pointers, I would be very grateful. Thank you.
[eluser]doubleplusgood[/eluser]
Just bumping this to see if anyone can help me integrate a signup form with mailchimp? Thank you.
[eluser]The Wizard[/eluser]
Hello, this is a quick & dirty integration of mailchimp. It loops trough the lists in your api key and adds the email to it. Hope it is of good use to you. BTW, i renamed the file MCAPI.class.php to MCAPI.php and put it into the libraries folder. Code: $this->load->library( 'Mcapi', array() ); |
Welcome Guest, Not a member yet? Register Sign In |