Move the html code from the taxonomy_block_get_block() function in to it's own theme_xxx() function so that it can be customised more.
List the taxonomy nodes using standard HTML <li> tagging instead of <div> tags.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | taxonomy_block_theme.patch | 6.03 KB | mstrelan |
| #6 | taxonomy_block_theme.patch | 11.65 KB | mstrelan |
Comments
Comment #1
chiptoxic commentedI would really love to see theme support added too.
At the moment i have solved my problem by modifying the module to my needs mainly because i didnt have time to learn how drupal themes work to change things properly, that and i would have to learn php again. And as far as i can tell this mod seems to work for all the themes i have installed/use. Anyway if you instested i noted down what i did in by blog at
http://chiptoxic.geekcoalition.co.uk/?q=node/29
Comment #2
NaX commentedI would also like to see a themeable function.
See http://drupal.org/node/31295
Comment #3
crunchywelch commentedThis is implemented for the 4.7 version in cvs now. You can override the theme like any other theme call. Check theme_taxonomy_block_item for details.
Comment #4
crunchywelch commentedComment #5
mstrelan commentedCan we have this for 6.x branch?
Comment #6
mstrelan commentedPatch against HEAD
Comment #7
mstrelan commentedyikes... windows line endings above.
try again
Comment #8
mstrelan commentedComment #9
budda15 years later :-)