By Chris Lewis on Saturday, 07 March 2015
Likes 0
Views 1K
Votes 0
I was wondering if there is a parameter i can change that marks all notifications as read automatically after clicking the notifications icon on the toolbar?

Cheers!
Hello Chris,

I am really sorry for the delay of this reply as it is a weekend for us here. It's currently not possible out of the box but if you add the block of codes below in the file /components/com_easysocial/controllers/notifications.php at line 241, you should be able to mark them all as read when they click on the notification icon,


$model = FD::model('Notifications');
$state = $model->setAllState(SOCIAL_NOTIFICATION_STATE_READ);
·
Sunday, 08 March 2015 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark, worked perfectly!
·
Sunday, 08 March 2015 01:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris Lewis,

You're welcome, glad to heard your issues resolved.
·
Sunday, 08 March 2015 10:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Chris,

Just an update, there will be a new settings under Settings > Notifications which allows you to enable / disable the autoread functionality, http://screen.stackideas.com/2015-03-08_1751.png
·
Sunday, 08 March 2015 17:52
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post