Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
First of all thank you for a nice module.
I've successfully managed to create a view that assigns a badge to a menu that display the number of unread nodes. However, when there is nothing new to read, I'd like the menu badge to disappear.
I use this badge for Privatemsg as well, and here the badge automatically disappear when I have no unread messages. Have I overlooked something since I got the badges with a zero?
Thanks in advance,
Frederik
Comments
Comment #1
zengenuity CreditAttribution: zengenuity at Zengenuity commentedYou need to check the boxes in views to treat 0 as empty and hide empty results.
Comment #2
hjorslev CreditAttribution: hjorslev commentedThank you for your quick answer, it works perfect now!