Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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 CreditAttribution: ishmael-sanchez commentedComment #2
ishmael-sanchez CreditAttribution: 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 CreditAttribution: ishmael-sanchez commentedComment #5
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedNew release with fix pushed out http://drupal.org/node/1692308.
Comment #6
ishmael-sanchez CreditAttribution: ishmael-sanchez commented