Block content
Crestfallen - January 23, 2008 - 18:45
Greetings,
I am trying to figure out how to make a certian visaul block. Basiclly what i want is to have a block header image(under the block title) and a block footer.
to better see what i mean i will draw a picture (this helps sometimes)
Block Header (with block title placed over the image)
content
content
content (you get the point)
Block Footer (image)
so from my basic knowledge of php (I am a designer not a coder, but i can learn anything) i need to have a div with a css class. The basic block.tpl file i have now is fromt he engines folder since i built this theme i am using.
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">
<?php if ($block->subject): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content"><?php print $block->content ?></div>
</div>if anyone could help with this little issue i would be very happy.
Thanks

Just add your Image-HTML-Tag
Just add your Image-HTML-Tag under this line:
http://api.drupal.org/api/function/t/5Did you mean that?
hmm
i am not sure what you mean by that.
I am sorry! Right now I
I am sorry! Right now I noticed, that I have posted wrong: I meant:
<div class="content"><?php print $block->content ?></div>Like:
<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block block-<?php print $block->module ?>">
<?php if ($block->subject): ?>
<h2><?php print $block->subject ?></h2>
<?php endif;?>
<div class="content"><?php print $block->content ?></div>
<img src="yourimage.png" />
</div>