- Uyumlu XF Sürümleri
- 2.2.X
- 2.3.X
- Ek Gereksinimler
- [AddonsLab] Navigation Badge 1.0.0
Eklenti, Yenilikler sekmesindeki okunmamış gönderilerin sayısını gösterir.
Any other navigation tab can show the number of unread posts by configuring it to use a callback for the badge with class name "AL\UnreadPostCount\Callback" and method "getUnreadPostCount". This is the default setup for "What's New" button after add-on installation.
The badge is added using default XenForo 2.x layout/styling, but it can be easily styled for each case using CSS only by using "nav{navigationItemIdHere}" class. For example:
Any other navigation tab can show the number of unread posts by configuring it to use a callback for the badge with class name "AL\UnreadPostCount\Callback" and method "getUnreadPostCount". This is the default setup for "What's New" button after add-on installation.
The badge is added using default XenForo 2.x layout/styling, but it can be easily styled for each case using CSS only by using "nav{navigationItemIdHere}" class. For example:
CSS:
.customBadgeContainer.navwhatsNew:after {
top: -10px;
}