I just upgraded from RC3 to the latest version and my signup block just disappeared. I had used this code in my theme to display the block in the RC3 version:
$mailchimp_block = module_invoke('mailchimp', 'block', 'view', 0);
print $mailchimp_block['content'];
Is there something that I have to change to get it to display again?
I have multiple lists, but only want one of my lists to display "subscribe to newsletter"
Thanks,
Comments
Comment #1
levelos commentedThere is now a separate block for each list.
Comment #2
WhenInRome commentedSo what do I change in my old code?
Say I have 5 mailchimp blocks and 1 of the blocks reads:
Mailchimp Subscription Form: This Is An Example
Which part gets changed?
Sorry, I'm not very familiar with themeing.
Thanks,
Comment #3
1kenthomas commented1++; //subscribe.
Comment #4
1kenthomas commentedSelf-assigning until we have clarity on syntax.
Comment #5
levelos commentedThe delta you need to use is the Mailchimp list id. Otherwise, why not just use the block interface and place it in a given region?
Comment #6
1kenthomas commentedI printed $list ;)
I think we're done here; not sure why they couldn't use blocks, but...