Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I would like to insert some contents (e.g. Article or basic page) into my custom campaign, but I cannot to do it. At "admin/config/services/mailchimp/campaigns/add", I chose "Content" as entity type, but I couldn't choose my contents.
Do I need to do something else?
Comment | File | Size | Author |
---|---|---|---|
#7 | cannot-insert-content-into-a-campaign-2772695-custom.patch | 772 bytes | asrob |
Screen Shot 2016-07-26 at 11.51.14.png | 109 KB | asrob |
Comments
Comment #2
asrobComment #3
AhmadZain CreditAttribution: AhmadZain as a volunteer and commentedThere is an Ajax error
Comment #4
AhmadZain CreditAttribution: AhmadZain as a volunteer and commentedComment #5
asrobhttp://cgit.drupalcode.org/mailchimp/tree/modules/mailchimp_campaign/src...
It doesn't work with
entityTypeManager()
but it works withentityManager()
. AFAIK the latter is deprecated, so we need to fix the proper way by the first one.Comment #6
amytswan CreditAttribution: amytswan at ThinkShout commentedHi @asrob and @AhmadZain, thanks for catching this! I happened to see this too while working on a separate JavaScript issue, and I applied a fix for it - it's available on the latest 8.x-1.x-dev branch.
Comment #7
asrobAdd a patch to use it in our development.
Comment #9
liamknuj CreditAttribution: liamknuj commentedI am trying this patch, but I keep getting this message:
any suggestions ?
Comment #10
asrob@liamknuj,
this issue is fixed by @amyvs in 8.x-1.x-dev.However, I added that patch because we use stable version with some patches including this one as well. By the way, we use it with composer.