Needs work
Project:
Comment Bonus API
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2010 at 22:26 UTC
Updated:
29 Apr 2010 at 12:00 UTC
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 commentedPlease, make it as option in mocule and prepare a patch to implement this.