[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:12:45 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-cvs.diff (1.57 KB)
Here's patch against cvs
Cvbge
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
all.
Grr. I'll attach patches for 4.6.0 and cvs when the uploading issue is
fixed.
More information about the drupal-devel
mailing list