Hide empty blocks

robb - November 12, 2005 - 18:32
Project:Taxonomy Block
Version:4.6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I would like to hide empty blocks from users. I am using taxonomy_block to highlight nodes that need editing, review, etc. I use taxonomy_access to control access to nodes based on some security terms. Taxonomy block already hides terms the current user is not allowed to see but the box is still present cluttering the screen. The attached patch allows a block to be hidden (via a per block option) if there are no terms in it. The patch also cleans up the save block interface so it does not reload to create and changes the button text slightly to make it less confusing (to me). It requires a new column to taxonomy_block (SQL included).

AttachmentSize
taxonomy_block.crg.tgz2.02 KB

#1

drewish - January 17, 2007 - 18:35

well this isn't a proper patch but since i'm cleaning up the issue queue and since there hasn't been any follow up on this issue it seems save to assume it's been resolved.

 
 

Drupal is a registered trademark of Dries Buytaert.