Global Footer

Permalink
Hi All,

Im using the Karma theme, which has a footer that is not global.... having to add it to each page is not an option, so I need to make it global.

Problem is, when I do that I loose the ability to add a layout to the footer block, which I need to layout the footer area!

Heres my footer code:

I was simply changing $a = new Area('Footer Area'); to $a = new GlobalArea('Footer Area');. Is there something else i need to do to keep the layout option?

<?php        defined('C5_EXECUTE') or die("Access Denied."); ?>
   <div class="container">
   <footer>
      <div class="footer-line">
            <?php           
               $a = new Area('Footer Area');
               $a->display($c);
            ?>
      </div>
   </footer>
   </div>
</div>
</div>
   <script src="<?php       echo $this->getThemePath(); ?>/js/bootstrap.min.js"></script>
   <script src="<?php       echo $this->getThemePath(); ?>/js/twitter-bootstrap-hover-dropdown.js"></script>

 
enlil replied on at Permalink Reply
enlil
You could always edit the footer.php file to include 3 separate "global" footer areas horizontally or check out this nifty add-on which should also get you what you're looking for:

http://www.concrete5.org/marketplace/addons/horizontal-blocks/...
Meje replied on at Permalink Reply
Thanks! Ill give it a try!