Creating new Global Area

Permalink
Hi,

I'm trying to find out how to make a /new/ global area. I can create a new Stack, and I can delete it. I can delete a Global Area, but I cannot find out how to make a new one. I'm using 5.7.3.1... did it fall of the truck? :-) (or did I look at the wrong place?)

regards,

Paul

View Replies: View Best Answer
malkau replied on at Permalink Best Answer Reply
malkau
You actually have to create the Global Area using PHP in your template.

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


Once that page loads up in edit mode, then the Global Area will appear in that "Global Areas" list in the dashboard.

I agree though, I think you should be able to create them from the dashboard, and then just place them into the template where you want them. The current method seems un-intuitive.

More info here:http://www.concrete5.org/documentation/recorded-trainings/theme-dev...
pwiegers replied on at Permalink Reply
Wow, thank you. I really did not figure out that the area would be created as soon as it was found in the template. Even after knowing this, if you read the how-to-pages, I can still not tell by the text. This should be in there :-)

Thanks!

Paul