Removing the "Add to"

Permalink
Hi

Is there any way of removing the 'Add to' on certain areas. Want to remove it from under my Header Nav area. Not really that knowledgeable when it comes to php but is there a line of code I can add to
<?php
$a = new Area('Header Nav');
$a->display($c);
?>
to make it disappear?

Cheers
Karl

abovecreative
 
Remo replied on at Permalink Reply
Remo
you can hack the php source code, or add an empty translation.. Not nice.

But you might be satisfied with this:

<?php
$a = new Area('Header Nav');
$a->setBlockLimit(1); 
$a->display($c);
?>


It restricts the blocks in the area to 1. If there's no block in the area you see "Add.." but not if there's one inside..
abovecreative replied on at Permalink Reply
abovecreative
Thanks Remo, thats exactly what I wanted.
monobasic replied on at Permalink Reply
monobasic
needed that one as well...
sarah3585 replied on at Permalink Reply
sarah3585
Since updating to 5.6 with BlockLimit set I still get the 'Add To' dashed lined area. It doesn't let me add a block but it's there giving me other optons. Without being able to add a block it really has no purpose other than adding some confusion. Does anyone else see this?
yoschi replied on at Permalink Reply
yoschi