Global area in footer

Permalink Browser Info Environment
Hey, I was trying to figure out what is the best way to have the footer display some information in the entire site. I see there is a global area stack in the nav and header, but I can't figure out how to create one in the footer. Any suggestions?

Type: Discussion
Status: New
shlomimir
View Replies:
c5mix replied on at Permalink Reply
c5mix
In the theme's footer.php file (located at packages/theme_slate/themes/slate/elements/footer.php) you'll need to change the code a little that defines the areas. So for example, you would need to change the first column area from this:
<?php 
$a = new Area('Footer');
$a->display($c);
?>

To this:
<?php 
$a = new GlobalArea('Footer');
$a->display();
?>

So basically you'll need to change the line that says Area to GlobalArea and where it says display($c) change to display(). Do the same for the other three areas.
jhixson replied on at Permalink Reply
jhixson
I get access denied. How do i get access?
c5mix replied on at Permalink Reply
c5mix
Can you give me a little more info? Exactly what are you trying to do that you get Access Denied? What type of user account are you logged in with? Are you admin?

Thanks

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.