Page 1 of 1

News email notification

Posted: Fri Jul 12, 2013 11:46 am
by mlp1
Hi,

I have been trying to get a notification when a new news item is posted but I'm having problems.

I'm using v 1.11.5 and have set the
Mail > Options > Notification Settings with a correct email address.

But this dosn't mail the email address.

So I installed the Notifications 1.0 plugin and created a new notification for News, this mails the provided address when new news is created but I can't seem to access the $eventparams.

{$eventparams|print_r} will output;
Array ( [news_id] => 124 [category_id] => 7 [title] => uuu [content] => uuu [summary] => uuu [status] => draft [start_time] => 1373628500 [end_time] => 1376220500 [useexp] => 0 [extra] => ) 1

But {$eventparams->title} returns nothing!

What am I doing wrong?

Thanks Mark.