News email notification

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
mlp1
Forum Members
Forum Members
Posts: 13
Joined: Fri Feb 22, 2013 1:27 pm

News email notification

Post 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.
Post Reply

Return to “The Lounge”