I have just one newsletter for my website. I want new users to be given the option to subscribe on the registration form (so I don't want a required list), but I want the default to be subscribed. Right now, the default is always not subscribed. Is there a way to do this through the mailchimp module (or do I have to use Drupal hooks)?

If it's not possible through module settings, has anyone done it with hook_form_alter? Any hints?



Status:Active» Fixed

hook_form_alter will take care of it. Just set the default_value property of the form checkbox to TRUE.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Status:Closed (fixed)» Active

Could someone please provide more detailed instructions on how to do this? Thanks.

Status:Active» Closed (fixed)

In your module, use hook_form_alter() to change the default value of the subscribe form element to checked.

I found this guide which looks like it will help you http://websmiths.co/blog/very-introduction-drupals-hookformalter