Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Newsletter module: how to add news from cms into newsletter (from archive)


Reply


2568 Views

Avatar
janulka

Community Member, 80 Posts

16 December 2008 at 11:27pm

Edited: 16/12/2008 11:28pm

From: http://www.silverstripe.org/archive/show/155969
--------------------------------------------------------
triolus wrote:
--------------------------------------------------------
Hi guys,

How to add news (content) from cms into newsletter.
I would like to have content picker in newsletter draft admin to select desired news from cms or content picker to select specific node from cms content tree and parse subnodes in newsletter template on newsletter sending process.

Anny ideas?

thx :)

--------------------------------------------------------
OzziNL wrote:
--------------------------------------------------------
Nobody any suggestions for this?

I need it more simple, I need to send a letter that has the last three added NewsArticles in it.

Simon_w advised me to look at the forum notification system in the forum module. See
static function notify(Post $post) in Post.php.

I think that is usable but some help/examples would be helpfull build this in the newsletter system.

Thanks,
Ozzi

--------------------------------------------------------

And as for myself - anybody who figured this out?

Thanks!