[drupal-devel] [feature] Do not display "Active/New forum topic" if no topics at all

Cvbge drupal-devel at drupal.org
Mon May 16 21:13:29 UTC 2005

Issue status update for http://drupal.org/node/23014

 Project:      Drupal
 Version:      cvs
 Component:    forum.module
 Category:     feature requests
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  Cvbge
 Updated by:   Cvbge
 Status:       patch
 Attachment:   http://drupal.org/files/issues/forum_module-no_block_if_no_content.diff (1.4 KB)

And for 4.6.0


Previous comments:

May 16, 2005 - 21:10 : Cvbge

When there are no topics at all blocks are still displayed, although
empty. Attached patch makes empty forum blocks not to be displayed (the
same behaviour has e.g. comment's "Recent comments").

This also works with taxonomy_access module, when some roles do not
have access to all forums/topics - there are forums/topics, but those
people see only empty block. With this patch the don't see the block at

Grr. I'll attach patches for 4.6.0 and cvs when the uploading issue is


May 16, 2005 - 23:12 : Cvbge

Attachment: http://drupal.org/files/issues/forum_module-no_block_if_no_content-cvs.diff (1.57 KB)

Here's patch against cvs

More information about the drupal-devel mailing list