-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mailing list query returns null #363
Comments
Have you double checked that the mailing list is enabled and that the mailing list type is enabled for the site you're testing with? |
aha - that's what's thrown me...the relationship between a mailing list and site. Here's my conundrum, we have multiple sites in this instance. We have an organisation site and a site for a conference the organisation operates. The mailing list was assigned to the organisation but being called on the conference site. Is there a way to do that? |
Have you tried adding |
brill, thanks so much @bencroker - just the job |
@bencroker another likely dumb question but with this snippet
when submitting the form I get the error is that because it's trying to find a form with that particular slug in the context of the current site? |
Yes, it looks like the same issue as above. |
so that will never work the way I intend then doing
|
Yeah I see what you mean. I may add an optional |
yeah, latest version. That would be useful. Appreciate this is probably quite edge case. My workaround for now is to use a Freeform form to capture details and hook up their Campaign integration in the background. |
I added an optional <input type="hidden" name="siteId" value="2" /> |
what a man! thank you |
FYI I updated the docs at https://putyourlightson.com/plugins/campaign#front-end-forms |
Kicking the tyres on Campaign for a project.
I've configured the plugin and in the control panel I can see mailing list, contacts but for some reason, when I query the mailing list based on id, as per the docs
the mailing list definitely exists, I've tried deleting it and recreating but still the same issue. I can see the mailing list in the database also.
I'm stumped. Any gotchas that I'm missing?
I've also tried getting by
handle
andslug
🤷♂️The text was updated successfully, but these errors were encountered: