Make Notifications on Toolbar Descending
3 posters
Page 1 of 1
Make Notifications on Toolbar Descending
Is there a way to do that? Like make the notifications on toolbar descending, instead of ascending?
Sort it out from new > old, new ones on top, old ones on bottom. Peoples are probably used to that than of the ascending order. Forums, latest topics widget, it's all on descending order so might as well the notifications on toolbar.
Sort it out from new > old, new ones on top, old ones on bottom. Peoples are probably used to that than of the ascending order. Forums, latest topics widget, it's all on descending order so might as well the notifications on toolbar.
Chromo- Forumember
- Posts : 122
Reputation : 19
Language : said the Captain
Chromo- Forumember
- Posts : 122
Reputation : 19
Language : said the Captain
Chromo- Forumember
- Posts : 122
Reputation : 19
Language : said the Captain
Re: Make Notifications on Toolbar Descending
Chromo- Forumember
- Posts : 122
Reputation : 19
Language : said the Captain
Chromo- Forumember
- Posts : 122
Reputation : 19
Language : said the Captain
Re: Make Notifications on Toolbar Descending
No sorry this data is server side and as far as i know you can not change this
Re: Make Notifications on Toolbar Descending
I think this would be possible if you just modify the function which adds notifications. I've not really tried this but I'd guess something like this could work:
Basically that changes the function that adds notifications, so that after it has added the notification the new notification is then moved to the top... This should essentially mean that the most recently added notification will be at the top.
Hope this works for ya!
- Code:
$(function(){
window._oldAddItem = window._addItem;
window._addItem = function(i, data) {
_oldAddItem(i, data);
var notif = $('#n' + data.text.id);
if(notif[0]) {
$('#notif_list').prepend(notif[0]);
}
};
});
Basically that changes the function that adds notifications, so that after it has added the notification the new notification is then moved to the top... This should essentially mean that the most recently added notification will be at the top.
Hope this works for ya!
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Simone Boi likes this post
Similar topics
» How to Make Notifications appear in Toolbar Automatically
» Notifications not appearing in drop down menu on toolbar, but they appear on Notifications page
» notifications and toolbar
» Toolbar Notifications
» Functioning of the Toolbar and Notifications
» Notifications not appearing in drop down menu on toolbar, but they appear on Notifications page
» notifications and toolbar
» Toolbar Notifications
» Functioning of the Toolbar and Notifications
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum