Timeline for Displaying an image in a programmatically created block (Drupal 7)
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 1, 2012 at 19:56 | vote | accept | Mike2012 | ||
Mar 1, 2012 at 17:57 | comment | added | Countzero |
Adding another element to the $rows array shouldn't be a problem. You can use theme_image and you'll be 100% Drupal good practice.
|
|
Mar 1, 2012 at 17:24 | comment | added | Mike2012 | Thanks for your feedback counterzero. I added a code snipet (hook_block_view). Could I add an html <img> tag to my table array somehow? Or would your suggestion not work with the code I posted? Thanks again! | |
Mar 1, 2012 at 7:22 | history | answered | Countzero | CC BY-SA 3.0 |