Unfortunately, the titles of various blocks don't show up under Drupal 7 (7.8)
Possible solution:
The original block.tpl.php tries to access a block's title by $title. But
according to
http://api.drupal.org/api/drupal/modules--block--block.tpl.php/7 it should
be $block->subject. After changing all $title variables with $block->subject
it works for me.

Comments

alf_33’s picture

Status: Active » Needs review

Here is the content of my modified block.tpl.php:

<?php
?>
<div id="block-<?php print $block->module . '-' . $block->delta; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
  <?php if(isset($block->subject)): ?>
    <?php print render($title_prefix); ?>
    <?php if ($block->subject): ?>
      <h2<?php print $title_attributes; ?>><?php print $block->subject; ?></h2>
    <?php endif; ?>
    <?php print render($title_suffix); ?>
  <?php endif; ?>
  <div class="content"<?php print $content_attributes; ?>>
    <?php print $content; ?>
  </div>

</div> 
nickbits’s picture

Status: Needs review » Closed (fixed)

New code uploaded. Currently in the Dev snapshot,, in release shortly. Please give that a try. Any problems, please open an issue...