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.
Hi, I cannot make the collapsiblock working with energetic theme.
Can somebody please advise if the theme settings are correct for the collapsiblock?
div.block
:header.first
block.content
or advise what to write to block.tpl.php to make it work?
theme "energetic" block.tpl.php:
<?php // $Id: block.tpl.php,v 1.1 2009/07/03 07:40:11 agileware Exp $ ?>
<div class="Block">
<div class="Block-tl"></div>
<div class="Block-tr"></div>
<div class="Block-bl"></div>
<div class="Block-br"></div>
<div class="Block-tc"></div>
<div class="Block-bc"></div>
<div class="Block-cl"></div>
<div class="Block-cr"></div>
<div class="Block-cc"></div>
<div class="Block-body">
<?php if ($block->subject): ?>
<div class="BlockHeader">
<div class="l"></div>
<div class="r"></div>
<div class="header-tag-icon">
<div class="t">
<?php echo $block->subject; ?>
</div>
</div>
</div>
<?php endif; ?>
<div class="BlockContent">
<div class="BlockContent-body">
<?php echo $block->content; ?>
</div>
</div>
</div>
</div>
Thanks for your effort in advance
Jozef
Comments
Comment #1
chosee CreditAttribution: chosee commentedComment #2
Jeff Burnz CreditAttribution: Jeff Burnz commentedYou probably need to use the classes:
.Block
.BlockHeader
.BlockContent
Comment #3
chosee CreditAttribution: chosee commentedThank you very much.
Jozef
www.devinskabrana.sk
Comment #5
JohnParkerC CreditAttribution: JohnParkerC commentedYou could also try to download the theme from here: http://www.creattor.com/drupal-themes/energetic-3640, because everything worked fine for me.
Comment #5.0
JohnParkerC CreditAttribution: JohnParkerC commentedUpdated issue summary.