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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

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

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


Go to End


4093 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!