Closed (cannot reproduce)
Project:
Block Class
Version:
6.x-2.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2010 at 00:18 UTC
Updated:
18 Mar 2011 at 11:22 UTC
Can you please help
here is how the code looks like and it gives me error.
<?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 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>
Comments
Comment #1
todd nienkerk commentedAre you sure you have enabled this block? This error should only appear if you've added a call to
block_class()without first enabling the module.Also, I don't recommend using the 6.x-2.x-dev branch unless you really, really know what you're doing. It's very unstable.
Comment #2
todd nienkerk commentedClosing due to inactivity.
Comment #3
gianfrasoft commentedYou lost block_class module directory.