By Sylvain ROGER on Sunday, 20 July 2014
Posted in Technical Issues
Replies 1
Likes 0
Views 1.2K
Votes 0
Hello,

I developed a third-party plugin (YooRecipe Komento Integration Plugin) and some users ask me how they can enable recipe authors notifications?

Should I implement the onBeforeSendNotification trigger method or can it be achieved another way?

Regards,
Sylvain
Hello Sylvain,

There's basically 3 things that you need to do. The first one is entirely optional but it would be good if you do it.

1. Create a notification rule file (Scan and install it from notifications area). This rule file will add a new notification rule when the user edits their notification settings to determine if they should receive notification for your app or not.

2. When a user performs an action within your extension, generate a new notification for it. For some examples, see /controllers/groups.php on how Foundry::notify is used.

3. Hook onto the onNotificationLoad to process these items when the notification is loaded.
·
Sunday, 20 July 2014 22:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post