Report message:*
 

Re: How to hide a block when it has no contents?

Subject: Re: How to hide a block when it has no contents?
by Madfish on 2015/2/19 0:55:07

Ok thanks, the culprit was that I was passing some display preferences inside $block. Now I check to see if there are any content objects and if not, set $block = array(); and its fine.