Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Replace in comment-wrapper.tpl.php (/sites/all/modules/comment_bonus_api/)
<?php if ($node->type != 'forum'): ?>
<h2 class="comments"><?php print t('Comments'); ?></h2>
<?php endif; ?>
to
<?php if ($node->type != 'forum' && $node->comment_count != 0): ?>
<h2 class="comments"><?php print t('Comments') .' ('. $node->comment_count.')'; ?></h2>
<?php endif; ?>
Comments
Comment #1
neochief CreditAttribution: neochief commentedPlease, make it as option in mocule and prepare a patch to implement this.