Need help hiding areas

Permalink
Hi there,

Basically my problem is that I have an area for putting the main heading of a page in, now this is set to have
$a->setBlockLimit(1);

However when I have one block in this area it still shows the 'add' box in edit mode. Now I've toyed with getTotalBlocksInArea() and isEditMode() to try and tidy it all up though this has the effect of hiding the title as well as the editable area.

I was wondering if there was any way of hiding just the empty blocks but keeping the set blocks for example is there a way to basically go isset($a) and only show the ones that have something in them?

Many Thanks,
Michael Coombes

 
johnkidd replied on at Permalink Reply
johnkidd
Is this the same as the problem I had? See my thread here. Last answer worked for mehttp://www.concrete5.org/community/forums/usage/how-to-get-rig-of-a...