Is your GlobalArea not showing up publicly?
Permalink 1 user found helpfulIf you have GlobalAreas showing up for logged-in users, but not publicly:
1. While logged in, go to a page w/ the GlobalArea on it.
2. Click the left-hand gear logo.
3. Go to versions.
4. On the latest version, click the arrow in the upper right hand corner.
5. Click approve.
Went down the Stack -> Collection rabbit hole to Collection->getBlockIds to figure that one out.
Hope I saved someone some time.
<?php $a = new GlobalArea('Logo'); $a->display($c); ?>
It is a real head scratcher! :-(
- Try getting rid of $c in your display reference. It's redundant.
- Make sure they all have unique area names.
- Check the database to see if your stuff is being persisted, but not shown?
Do you know off the top of your head which table I need to look at? My brain hurts and it would save me searching though them...
Thanks
:-)
https://dl.dropboxusercontent.com/u/531386/versions.gif...
Thanks for the visual :-)
Concrete\Core\Page\Collection\Collection:792
It would appear to be referencing through the collection of tables correctly (when I cross-reference it in the 'CollectionVersionBlocks' table it is giving the correct arHandle for the GlobalArea)
I dont know if this tells you anything or not
I have resolved the issue. Some some bizarre reason I was getting a conflict with the naming of the block. I changed the name of the GlobalArea block and hey presto!
Thanks for all of your advice, It is really appreciated!
Best wishes
Simon.
I am having the same problem. I am using c5.7.4 to develop a new site and didnt have this problem in previous versions. What version are you using?
Simon.