Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
pretty simple. Here's the code
function mailchimp_block($op = 'list', $delta = 0, $edit = array()) {
switch($op) {
case 'list':
$blocks[0]['info'] = t('MailChimp Subscribe');
return $blocks;
case 'view':
$block['subject'] = t('Newsletter');
$block['content'] = drupal_get_form('mailchimp_subscribe_form');
return $block;
}
}
I just recylcle your signup form. Seems to work. This will allow users to add the registration form onto their sidebars or footers should they chose.
Comments
Comment #1
ronan CreditAttribution: ronan commentedAnother good addition, I'll add it when I get a chance. If you can submit a patch (http://drupal.org/patch/create) that'd help too.
Thanks
Ronan
Comment #2
levelos CreditAttribution: levelos commentedof #411820