hello

I try to overide the theme of a specific block or blocks in a specific region
: then i create a block--simplenews.tpl.php for example in a template folder of the subtheme, and the display is correct but the title disappear ?
with the error bellow

any idea , of my mistake ?

<div class="top-wrapper">
          <div class="left"></div>
          <div class="right"></div>
          <div class="middle"><span></span></div>
        </div>
<section id="<?php print $block_html_id; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>


  <?php print render($title_prefix); ?>
  <?php if ($title): ?>
    <h2<?php print $title_attributes; ?>><?php print $title; ?></h2>
  <?php endif;?>
  <?php print render($title_suffix); ?>

  <?php print $content ?>
  


</section> <!-- /.block -->
  <div class="bottom-wrapper">
          <div class="left"></div>
          <div class="right"></div>
          <div class="middle"><span></span></div>
        </div>

Comments

phildu’s picture

Issue summary: View changes
neardark’s picture

Hi Phildu -

I just tried reproducing your issue and wasn't able to see the error. I started with a fresh install of Drupal with bootstrap, added simplenews, created a Bootstrap subtheme, copied the block template from the bootstrap theme to the subthemes template directory, renamed it block--simplenews.tpl.php and added some markup -- and it shows fine without error. I'm at a loss.

John

markhalliwell’s picture

Status: Active » Closed (cannot reproduce)