Closed (fixed)
Project:
Zen
Version:
6.x-1.x-dev
Component:
Subtheme: Zen Classic
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2008 at 23:43 UTC
Updated:
29 Dec 2008 at 12:42 UTC
There's a bug in zen classic. In page.tpl.php, there is no print $footer; so when you assign blocks to the footer region they don't get output.
The original code was:
<div id="footer-wrapper">
<div id="footer">
<?php print $footer_message; ?>
</div> <!-- /footer -->
</div> <!-- /footer-wrapper -->
I changed it to:
<div id="footer-wrapper">
<?php if ($footer or $footer_message): ?>
<div id="footer">
<?php if ($footer_message): ?>
<div id="footer-message"><?php print $footer_message; ?></div>
<?php endif; ?>
<?php if ($footer): ?>
<?php print $footer; ?>
<?php endif; ?>
</div> <!-- /#footer -->
<?php endif; ?>
</div> <!-- /footer-wrapper -->
I tried to create a patch file, which I've attached. Not sure it will work though as it's the first time I've created one. Fingers crossed...
Also, I'm not sure that this is the best method to print out the footer blocks and message. My intuition would be to put the message under the blocks, but the main zen theme has it above, so I followed that example.
| Comment | File | Size | Author |
|---|---|---|---|
| zen-footer.patch | 889 bytes | OpenChimp |
Comments
Comment #1
johnalbinUm… oops.
Fixed!