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.

Menu badge

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

CommentFileSizeAuthor
zero.png12 KBhjorslev
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zengenuity’s picture

Status: Active » Closed (works as designed)

You need to check the boxes in views to treat 0 as empty and hide empty results.

hjorslev’s picture

Thank you for your quick answer, it works perfect now!