- Phiên bản XF tương thích
- 2.2, 2.3
- Addons Yêu cầu bổ sung
- https://24h.aetot.net/addonslab-navigation-badge.r305/
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:
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:
You must log in to view
(3 lines)