I was hoping someone could help me figure this out. I know in most blocks I can simply add some html to add images, etc in the block. I'd like to add an image after the title but before the rss feed in my block. I'm new to web dev in general so kinda lost here.
I was able to edit the html in FireBug to show you what I'd like to do (link below). I just don't know how to do this in "real life" :)
![]()
http://imgur.com/zeecv.jpg
| Comment | File | Size | Author |
|---|
Comments
Comment #1
pglatz commentedOne way would be to make a copy of the module and edit it, adding your image in aggregation_block_block() and add your custom image to $block['content'].
Another way would be to create your own version of block.tpl.php file in your theme (see http://drupal.org/node/270332).
And yet another would be to write a jquery script (in your custom module or theme) to insert the image when the page loads.
NOTE: this is more of a general theming question than being specific to this module, and the discussion should probably be continued in a more appropriate area.
Comment #2
tikalian commentedThanks, new to Drupal so clearly placed this in the wrong place. I ended up using the block id and assigned each block a different image. Thanks.
Comment #3
pglatz commentedClosing