Page 1 of 1

email subscribers new news items

Posted: Mon Jul 13, 2009 7:00 pm
by cleverName500
Hello,

I've noticed that this question has been asked before, but I have not seen it answered.

I would like to create a form where a user submits their email address to be added to a subscribers list. Then whenever a new news article is published, all the subscribers are emailed the news item and a link back to the website. Can this be done, if so, how?

Any help would be appreciated

Re: email subscribers new news items

Posted: Mon Jul 13, 2009 9:59 pm
by cleverName500
have I posted this in the wrong spot?

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 2:18 pm
by cleverName500
Sorry about being a pest, but any feedback would be appreciated.

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 3:15 pm
by Andiministrator
First of all, you need beside of the news module the module "Newsletter Made Simple" (NMS).
For the next step I can give you only the direction - you have to connect both modules using an event handler.
I've never been using the event handler, so I would be quite interested on a howto for that.

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 3:22 pm
by cleverName500
Thanks for your reply! Dumb question alert: why would I need the newsletter module? I don't really want to send out a newsletter, I just want to send a link to a new news item to a list of subscribers.

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 3:35 pm
by Andiministrator
I think, the best way to manage an email suscriber list, is the NMS module. But it doesnt matter as long as the suscriber module supports events. Maybe the NMS module would be a good example, because there are many users for it out there, so there could be some more interested people.

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 3:43 pm
by cleverName500
setting the newsletter module aside for a second. I do have some pre-built php code from a non-cms made simple project that uses a form to add email addresses to a text file. Is there a way I could use that?

Re: email subscribers new news items

Posted: Tue Jul 14, 2009 3:56 pm
by Andiministrator
From my point of view you have to add some code to your PHP-Script, which reacts on the event, when a new news article is published - something like that. But as I told you, I was never using the CMSms events. So either, anybody else out there can assist you or you have to help yourself with learning how the event system works.