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

Posted by Madfish on 1424336107
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.

This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=5680&post_id=49695