Include a block in the footer
Permalink
As a newbie I am trying to restyle the Greek Yoghurt theme as a practice. I have already set up a duplicated 'theme' and renamed followng various tuts.
I would like to remove the Built by CMS reference in the bottom right on the footer and include an address, is this just a case of adding a html block to the footer? I would also like to be able to change the colour of the text as I am planning on making the footer a much darker colour. Any guidance would be greatly appreciated or if someone could point me to a how to.
Many Thanks
I would like to remove the Built by CMS reference in the bottom right on the footer and include an address, is this just a case of adding a html block to the footer? I would also like to be able to change the colour of the text as I am planning on making the footer a much darker colour. Any guidance would be greatly appreciated or if someone could point me to a how to.
Many Thanks
Hi
Thanks for getting back to me so quickly.
Have removed the tag from footer.php thanks.
As I said bit of a newbie, how do I include a global area in the footer to insert an address.
I will read through the links you supplied, in particular making a theme from start to finish although I think that will prbably take me some considerable time ;-)
Thanks for getting back to me so quickly.
Have removed the tag from footer.php thanks.
As I said bit of a newbie, how do I include a global area in the footer to insert an address.
I will read through the links you supplied, in particular making a theme from start to finish although I think that will prbably take me some considerable time ;-)
A Global Area is just like an ordinary area, except it's global (same across the whole site).
A normal area, in which you add blocks, is defined with:
A Global Area is defined as:
If you define a global area, a stack with the same name as the global area will be created and you can manage the content from the dashboard.
Where the link I supplied talks about scrapbook you should think global area and the code I have above. Scrapbook is deprecated. The rest of the information is still valid, though.
A normal area, in which you add blocks, is defined with:
<?php $a = new Area('AreaName'); $a->display($c); ?>
A Global Area is defined as:
<?php $ga = new GlobalArea('AreaName'); $ga->display($c); ?>
If you define a global area, a stack with the same name as the global area will be created and you can manage the content from the dashboard.
Where the link I supplied talks about scrapbook you should think global area and the code I have above. Scrapbook is deprecated. The rest of the information is still valid, though.
You can also include a global area in the footer. That way a stack will be created and you can add your html block in the stack. The block will then be shown on all pages.
You say you have followed some tutorials... have you seen this?http://www.concrete5.org/documentation/how-tos/designers/making-a-t...