Closed (fixed)
Project:
Ordered Taxonomy Display - Taxi
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
20 May 2008 at 17:37 UTC
Updated:
30 May 2008 at 03:43 UTC
I'd like to propose a small addition to the module that would allow the rendering of individual taxonomy terms to be themeable. The attached patch provides this functionality.
| Comment | File | Size | Author |
|---|---|---|---|
| taxi.theme_taxi_term.patch | 1.41 KB | jrbeeman |
Comments
Comment #1
LisandroEC commentedI took a look at the patch, and I thought a slight modification: instead of using a $link boolean, I'll use a $included boolean to pass to the theming function wether the term is included in the node or not. By default the theming function, if it is included, will create a link to the term, and if it's not, it will just print it. But with these modification you can, for instance, when overriding the theming function, gray out an unincluded term, or maybe just not print it at all. What do you think?
Comment #2
LisandroEC commentedSorry, I just took a better look at your patch and it actually needs no modification at all, just overriding it has the same functionality... my mistake, I tend to get ahead of things :D
Ok, added!
Comment #3
LisandroEC commentedAdded to 5.x-1.2.
Thanks!