I'd like to add the following code to a block that will be shown in the footer left area:
©<?php print date('Y');?> Company Name - 123 Main St - Anywhere, NY 10101
There are 3 ways that I can think of doing it:
- turn on the php filter & enter the code into a block that is positioned in the footer left region.
- Put the code in the appropriate template file in the sub-theme.
- Make a module that outputs the code to a block; activate and place the block.
Since #1 involved the php filter, it is a security risk. And #3 seems like overkill.
I've done method #2 when I've used another starter theme (zen, basic) as the specific code for rendering the block was easy to locate and replace.
But where do I find the code that outputs the left footer region, without affecting the output of the right footer region?
The template section--footer.tpl.php only contains code for rendering the entire region.
<footer<?php print $attributes; ?>> <?php print $content; ?> </footer>
Where would i find the code that would allow me to customize a mythical file "section--footer_left.tpl.php" and over-ride its contents?