Allow multiple taxonomy term selection with simplenews to send emails to multiple mailing list ?

seren10pity - June 30, 2009 - 09:49
Project:Simplenews
Version:5.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Issue tags:muliple simplenews, SimpleNews
Description

Hello,

I created a private newsletter for a client, with several mailing lists. Only the client can add users to the mailing lists.
The problem is that sometimes, he wants to send the same newsletter to 1 or 2 of his mailing lists. Actually he must create twice his newlsetter...

So here's my ask ; Could it be possible :
Neither to have checkboxes instead of selectlist to select several mailing lists ;
or, if it's not possible, to not disable the newsletter after sending the mailing (this way the client can edit again the newsletter and resend it. but I would prefer the first option)

In both cases, I'll need it quickly ; so could you explain me how your code works so that I can try to modify it for my needs ? What is it's logic ?

Whitch function creates the form select to choose the mailing, and whitch one gets this information and go searching the users list ?

Thanks for your help ;)

Seren

#1

zmove - July 6, 2009 - 12:54
Title:allow selecting several mailing lists to send a newsletter ?» Allow multiple taxonomy term selection with simplenews to send emails to multiple mailing list ?

Hi,

I subscribe to that feature request and I change title to make it more "drupal-like" ;)

Finally, the concrete solution would be to be able to select multiple terms of taxonomy when you create a new newsletter as taxonomy term == mailing list. I noticed that simplenews disabled the option in the vocabulary edit form.

I imagine that the option is disabled for a good reason, it's certainly more complex that just select 2 taxonomy terms, but it would be a excellent addition to that module.

#2

lilott8 - July 13, 2009 - 16:44
Version:6.x-1.0-rc6» 5.x-1.5

I have a solution to this. I am looking for a good place to post it.

#3

jackinloadup - July 13, 2009 - 20:51
Version:5.x-1.5» 6.x-1.0-rc6

Right here seems appropriate.

Though depending on the complexity of the problem/solution add-on modules may need to be patched. ^_^

#4

lilott8 - July 14, 2009 - 14:44
Version:6.x-1.0-rc6» 5.x-1.5

Here is my working code. This is for Version 5.x ONLY. I will get instructions up soon. This requires this patch: http://drupal.org/node/128405#comment-1810102

Thanks.

AttachmentSize
simplenews 5-x.txt 105.29 KB
 
 

Drupal is a registered trademark of Dries Buytaert.