Campaigns include inappropriate links like "Edit" linking to the node/edit page. And if you are embedding a view, then the link "Edit view" is included in the email.

Note that the preview page does not have the problem.

Turning off the Contextual Links module entirely solved the problem. However, it would be better for MailChimp Campaigns to play nicely with that module, especially since it is in core and is so handy.

Thanks for all the great progress on this module.

Shai Gluskin

#5 1871726.5.contextual_links.patch971 bytesHaza
Test request sent.
[ View ]


antpre’s picture

Version:7.x-2.7» 7.x-2.10

Hi there,
Thanks for the good job done with this module.
However I having the same issue as mentioned above.
In the campaign when I insert content from a drupal node using the macro the contextuel links show up on the rendered news lettre...
Disabling contextual link is a work around but certainly not a satisfactory solution.
For me the key selling point of this module is being able to insert content from drupal node.
Are you working on this issue ? Will a fix be available soon ?
PS I am runing mailchimp with durpal core v 7.22

bountyla’s picture

Yes, would deffenetly be nice with a better solution for this problem...

Jody Lynn’s picture

I was able to use hook_contextual_links_view_alter for my use case.

filipdebruyne’s picture

Issue summary:View changes

Also waiting for a solution for this issue. I can't send newsletters with 'edit this content' / 'remove this content' to my registered users ...

And the module contextual links is required for a bunch of Commerce modules, so I can't disable it.

Haza’s picture

Version:7.x-2.10» 7.x-2.x-dev
Status:Active» Needs review
new971 bytes
Test request sent.
[ View ]

Here is a patch that forces drupal to render the node as an anonymous should be able to see them.

Aptalops’s picture


ashleysman’s picture

Verified that the patch in #5 solves this problem, thanks Haza.

Aptalops’s picture

Can also verify that the patch in #5 solves this problem, thanks Haza.