Help with Site Wide Stacks(?) [SOLVED]

Permalink
I've been Googling this for a while, but didn't find exactly what I needed.
My question is:

"How do I add site wide editable blocks/stacks to my html?"

I know I can add:

<?php $stack = Stack::getByName('Stack_Name'); $stack->display($c); ?>


But I'd like to not having to go into the admin panel to edit this, and instead allow a user to front end edit it.

Any help would be greatly appreciated!

 
WillemAnchor replied on at Permalink Best Answer Reply
WillemAnchor
You can define global area's.
<?php
                $a = new GlobalArea('Your Global Area');
                $a->display();
?>


Have a look at \concrete\themes\elemental\elements\header.php how it's used.
You can edit them in your page directly, or in dashboard/blocks/stacks/view_global_areas
ghoststalker194 replied on at Permalink Reply
This seems to be working perfectly. Thanks!