Closed (fixed)
Project:
Earthish
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 May 2012 at 05:01 UTC
Updated:
2 Aug 2012 at 07:01 UTC
Hey,
Not sure if this was on purpose but in the page.tpl.php file looks like this
<div id="bottom-bar">
<?php if ($page['footer_primary'] || $logo): ?>
<div id="footer-primary">
<?php print render($page['footer_primary'])?>
<div id="logo">
<a href="<?php print $front_page; ?>" title="<?php print check_plain($site_name); ?>" rel="home">
<img src="<?php print $logo; ?>" alt="<?php print check_plain($site_name); ?>" />
</a>
</div> <!-- logo -->
<?php endif; ?>
</div> <!-- footer-primary -->
You're ending the div outside of the if statement, so if that if statement doesn't ring true, you're closing a div that doesn't exist. Not sure if this is for a reason, or just an oversight. Should be this,
<div id="bottom-bar">
<?php if ($page['footer_primary'] || $logo): ?>
<div id="footer-primary">
<?php print render($page['footer_primary'])?>
<div id="logo">
<a href="<?php print $front_page; ?>" title="<?php print check_plain($site_name); ?>" rel="home">
<img src="<?php print $logo; ?>" alt="<?php print check_plain($site_name); ?>" />
</a>
</div> <!-- logo -->
</div> <!-- footer-primary -->
<?php endif; ?>
Comments
Comment #1
ishmael-sanchez commentedComment #2
ishmael-sanchez commentedThe code has been fixed in dev for the time being, see http://drupalcode.org/project/earthish.git/commit/e2dfd52. I will be releasing a 7.x-1.1 soon which will encompass some bug fixes and new features.
Comment #4
ishmael-sanchez commentedComment #5
ishmael-sanchez commentedNew release with fix pushed out http://drupal.org/node/1692308.
Comment #6
ishmael-sanchez commented