When you create a campaign from a node, the campaign is rendered as the logged-in user. This has the sideeffect that 'edit-link's' etc are getting out in the generated mail.

In my opinion the mail should be rendered as anonymous user! This might be handled by switching the user in function _mcc_body()

Comments

Sutharsan’s picture

Using a fixed user to render the content can only be a temporary solution. In my experience with Simplenews (as maintainer for 3 years) site builders will ask for more. So I propose two changes:

  • Make the user selectable with which render the content.
  • Make the viewmode selectable with which to render the content.
Sutharsan’s picture

I discoverred that the module already defines a custom view mode 'MailChimp Campaign'. So my second suggestion is not applicable anymore. But I do have a requirement to set/select the language with which the content is rendered.

  • Make the user selectable with which to render the content: Current user, Content author, any of the user roles.
  • Make the language selectable with which to render the content: Site default language, Current language, Content language, any of the enable languages (Language 1, Language 2, ...))

Currently the render language is the "Current language", this is probably the worst choice of all.

[edit: wrong remark marked as deleted]

larsmw’s picture

Issue summary: View changes
Status: Active » Closed (outdated)