Can't save block to global area

Permalink
I am having this issue now. I don't get an error or anything and it seems like I can add a block to the global area in edit mode, though when I publish it simply disappears...

<?php
      $a = new GlobalArea('Navigation');
      $a->display();
?>


Any ideas?

 
Pluto replied on at Permalink Reply
Pluto
Hello
It might that in front end where you are showing the content the div is hidden. Or ithe div might have style="display:none;"
lexbi replied on at Permalink Reply
No the markup is simply not there. besides even it it was hidden, im sure C5 would still show a "blank" block in the area.
hutman replied on at Permalink Reply
hutman
If you go into the Dashboard -> Stacks & Blocks there is a little dropdown that says View Stacks, if you click it you should be able to View Global Areas if you open that Global Area is there an Approve Changes green button there? If so it might be that the Area just needs to be approved for your block to show up.
lexbi replied on at Permalink Reply
I see a bunch of old global areas I might have setup (maybe some are default too). But I don't see the existing one that I'm trying to add to...
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
I marked your last post as spam because of the foul language and expletives which many members will find offensive.
lexbi replied on at Permalink Reply
Wow thanks, such a big help you are. Maybe next time you can pick out the answer I posted so I don't have to post again.

Essentially the problem was C5.7 doesn't let you have a global area named "Navigation" if you add a character/rename the area it's all fine.

Members may find foul language and expletives offensive? Grow up. MUMMY HE SAID A BAD WORD. I can express my feelings as I'd like. As if anyone on here has never been exposed to it before. As if it actually matters.
madesimplemedia replied on at Permalink Reply
madesimplemedia
Hi,

I have 3 global areas not showing up:

Special Offers
Find Our Store
Join Us...

On the front end, the global areas are there and I can add blocks, but when I publish they disappear.
When I go to the dasboard to try and "view global areas" these new areas are not in the list! Some older areas are there though.
madesimplemedia replied on at Permalink Reply
madesimplemedia
Ah got it, had to make a new page type from the page template, then the areas appear and anything you add to the page type defaults is saved.
denniss112 replied on at Permalink Reply
Thanks dude, you helped me out :D