Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you put a block in the footer, the block is concatenated with the footer message. If you put more than one block, each block is concatenated instead of putting each block on top of each other.
I put the following code from footing.tpl.php of the Garland theme into block-footer.tpl.php of the Marinelli theme and it corrected the problem.
<?php
// $Id: block.tpl.php,v 1.3 2007/08/07 08:39:36 goba Exp $
?>
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?>">
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content"><?php print $block->content ?></div>
</div>
I'm new to this so I haven't learned how to make a patch, yet.
Comments
Comment #1
sakthipriyadevakumar CreditAttribution: sakthipriyadevakumar commentedto which file,we have to add these codes in marinelli theme...pls help me
Comment #2
sakthipriyadevakumar CreditAttribution: sakthipriyadevakumar commentedsorry...i got it
Comment #3
sakthipriyadevakumar CreditAttribution: sakthipriyadevakumar commentedi put it in the danland theme..it is not working....
Comment #4
oadaeh CreditAttribution: oadaeh at Flatt and Sons commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.