Hey, thanks for making this cool module, i was just wandering if there was a simple enough way to hide the badge once its hits 0?

Cheers

Comments

zengenuity’s picture

The badge callback needs to return NULL instead of 0 to be hidden.

If you're making the badge in Views, make sure that you're having it count 0 as empty and hiding the result when empty. I don't remember for sure, but I think I showed how do that in the screencast linked on the main module page.

zengenuity’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.