Global Areas sometimes empty

Permalink
Hi all,

I have created my first theme with concrete, and it's great.

But I have some problems.

this is my function

<?php
if($c->getCollectionTypeName() == "Full") {
$a = new GlobalArea('Header Nav HP');
$a->display();
} else {
$a = new GlobalArea('Header Nav Other');
$a->display();
}
?>

Sometimes, if I load the page there is no navigation block in this area. After realod there is one.

The second problem, if I edit the page there is no block in this area.

Also the html code is empty.

Any idea?

 
ronyDdeveloper replied on at Permalink Best Answer Reply
ronyDdeveloper
Yes this is a bug. I'm sure you have named that area not Global in the very first step. Previously it was a simple editable Area. And after that you have change it as Global Area. This may cause the problem. This is a bug discussed in the forum previously.

Solution: You can change the name of that Global Area.

Rony