The sites I'm working on only need simple signup boxes, so I only enabled mailchimp.module and mailchimp.signup module. Selecting "Include interest groups on subscription form." in the signup box config doesn't actually include the interest groups in the page or the block form; they just don't appear.

After digging through the code a little bit, I enabled mailchimp_lists.module, used the link on `admin/config/services/mailchimp/lists` to clear the list cache, and the interest groups appeared in the form. I am not sure if this is an intentional choice, but if it is, it isn't documented anywhere.

I'm creating a patch that disables the checkbox if mailchimp_lists is not enabled, and provides a little bit of help text. I am not sure if this is the best solution but it will work for my users.

Screenshot of patched config form

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jenna.tollerson created an issue. See original summary.

jenna.tollerson’s picture

jenna.tollerson’s picture

Assigned: jenna.tollerson » Unassigned
ruscoe’s picture

Status: Needs review » Postponed (maintainer needs more info)

Interest groups should appear without the mailchimp_lists module installed. It works for me in a quick test locally. If you're still not seeing interest groups on the form, would you mind checking this section of mailchimp_signup.module locally?

https://github.com/thinkshout/mailchimp/blob/7.x-4.x/modules/mailchimp_signup/mailchimp_signup.module#L308-L311

That's the point in the code where the interest groups should be added. If that code isn't being reached for some reason then that might be the problem. If not, please feel free to update this issue and I'll check it out.

samuel.mortenson’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)