Closed (cannot reproduce)
Project:
Block Class
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2009 at 00:25 UTC
Updated:
14 Oct 2011 at 23:26 UTC
Hi,
I installed the module and edit my block.tpl file, than I added the class "myclass" to one block, but in my html code i can't see the myclass class. It doesn't work.
My block.tpl code is:
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="clear-block block block-<?php print $block->module ?> <?php print block_class($block); ?>">
<?php if (!empty($block->subject)): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content">
<?php print $block->content ?>
</div>
</div>
and in the form of my block settings I write myclass without quotes.
What is wrong?
Thanks
Comments
Comment #1
todd nienkerk commented@tunning88: That looks correct. Can you try making another change to the block.tpl.php file -- something obvious like adding a line of text -- to make sure Drupal is actually using that block.tpl file?
Comment #2
berenddeboer commented