- πΊπΈUnited States SocialNicheGuru
the patch no longer applies to simplenews 4.x
Sending a single content item to multiple newsletters would be a very useful feature. It enables a site to have different newsletters that visitors can subscribe to - for example for different roles or different interests - and then the site owners can send content items that are relevant to more than one interest or role without needing to create duplicate content items. Furthermore, subscribers that are on more than one of the target newsletters should only receive a single copy of the email.
Simplenews does currently not allow a single content item to be sent to multiple newsletters; if one attempts to work around this by cloning items with Rules, duplicate emails would get sent to subscribers on both lists.
Various options...
We would leave the issue field as single-value by default, but fix the code to work if the site-admin alters the cardinality (can do in the normal way through the field settings GUI).
Patch #31 is a start towards this, but has problems described in #39.
Instead of a simplenews_issue field we could have a separate simplenews_issue entity type. This can have a multi-valued entity reference field but still stick with a single copy of status and count. This would also solve #3053111: Issue status should not be stored on issue entity β .
Create RecipientHandlerMultiple as described in #40 but it has flaws described in #42.
Needs work
3.0
Code
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
the patch no longer applies to simplenews 4.x