Make Block Theme-able

liberatr - April 6, 2009 - 21:12
Project:Taxonomy Image
Version:6.x-1.5
Component:Contrib Blocks
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I was using the contrib block module, and I wanted to use a function other than theme_table, so I created a patch that makes the block's content the output of a theme_taxonomy_image_block() function. This will allow themers to override the output in their template.php

AttachmentSize
themable.patch832 bytes

#1

liberatr - April 6, 2009 - 21:36
AttachmentSize
themable_rows.patch 1.52 KB

#2

NancyDru - April 8, 2009 - 14:35
Status:active» needs review

Thanks for the patch, Ryan. When submitting patches, please mark the status as "Needs review" and assign the issue to yourself.

#3

NancyDru - April 8, 2009 - 14:39

I see a little thing I need to fix: 'id' => 'taxonomy_image_terms' -- we really need to change the underscores to dashes in keeping with current Drupal coding standards. I hope it doesn't mess up too many people.

#4

NancyDru - April 17, 2009 - 17:09
Status:needs review» fixed

Committed.

#5

System Message - May 1, 2009 - 17:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.