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

Cvbge drupal-devel at drupal.org
Mon May 16 19:10:19 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

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.




Cvbge




More information about the drupal-devel mailing list