1up-lab / contao-mailchimp

Contao bundle for MailChimp subscribe/unsubscribe forms (using MailChimp API V3.0)
MIT License
7 stars 3 forks source link

Hidden fields not hidden? Other Input Types supported? #5

Closed denniserdmann closed 6 years ago

denniserdmann commented 7 years ago

Moin!

I'm working with some hidden fields in Mailchimp. Unfortunately, they appear in Contao. On the other side, i have a checkbox field that doesn't show up. Any ideas?

Grüße, Dennis

bytehead commented 7 years ago

Hi!

Hmm, not yet :) Can you describe your setup or upload a screenshot from the field configuration at mailchimp?

bytehead commented 7 years ago

I'm actually not sure, if checkboxes are supported at the moment: https://github.com/1up-lab/contao-mailchimp/blob/master/src/MailChimp/Module/ModuleSubscribe.php#L124-L219

denniserdmann commented 7 years ago

Sure,

here is my current setup: bildschirmfoto 2017-02-21 um 07 59 49

The checkbox-input is a group i created, which will then be added to the form.

bytehead commented 7 years ago

Thank you for reporting, I'll investigate this.

bytehead commented 7 years ago

I've looked into it. The hidden fields will be fixed in the next release 🙂

But I didn't get how you create checkboxes under List-> Settings -> List fields and *|MERGE|* tags. I saw you can create checkboxes under List -> Signup Forms, but we don't have any API access on this forms.

bytehead commented 7 years ago

The checkboxes are for group separations. Will have to dig into https://developer.mailchimp.com/documentation/mailchimp/reference/lists/interest-categories/, there is maybe a possibility to add those to the subscribe form as well.

bytehead commented 7 years ago

Hidden fields will work with 2.2.0.

denniserdmann commented 7 years ago

Great,

i was using another contao mail chimp extension in the past, which had the same problem with interests/categories. But maybe „you have a little bit lucky“ ;-)

fritzmg commented 6 years ago

@bytehead we also need the group feature. Any plans or ideas yet?

bytehead commented 6 years ago

Not yet, lost the focus a bit on this topic. I don't even know if it's possible to get them.

fritzmg commented 6 years ago

It should be possible. There is a basic (WordPress -_-) example here: https://rudrastyh.com/mailchimp-api/interest-groups.html

If you don't have anything planned, we'll probably provide a PR ;)

bytehead commented 6 years ago

PR is highly welcome 😎

fritzmg commented 6 years ago

PRs added: https://github.com/1up-lab/contao-mailchimp/pull/15, https://github.com/1up-lab/mailchimp-api-v3/pull/4

bytehead commented 6 years ago

Version 4.2.0 is released. Thanks for contributing!