Question

I have a mailing list in MailChimp and I recently installed the mailchimp module in my Drupal 6.0 site.

The subscribe form for anonymous users has first name and last name input elements, as well as an (empty and ugly) interest groups div.

Is there a way, using the mailchimp module, to present simply an email+button subscription form block?

Was it helpful?

Solution

I haven't got a mailchimp enabled Drupal site in front of me, but from memory the simplest way to do it is to set the fields you don't want captured as optional in the Mailchimp interface (NOT the Drupal module) and then just hide the fields using CSS on your subscribe form.

If you don't need to capture anything other than email for your mailing list, you can remove those fields entirely from your list on Mailchimp's site, and (again from memory) they won't show up in your Drupal form.

OTHER TIPS

You can also hide elements (such as the groups area) with CSS, using

display: none;

Mailchimp actually recommends doing this in the case where you want to have people automatically subscribed to a specific group (without giving them the choice).

As long a given field isn't required, you could hide it this way.

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top