Hi,
I found that taxonomy did not appear on nodes, because PHP IFs were using "has_terms" instead of "terms". Just change that to make it work.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | node.tpl_.php_.patch | 802 bytes | mlissner |
Hi,
I found that taxonomy did not appear on nodes, because PHP IFs were using "has_terms" instead of "terms". Just change that to make it work.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | node.tpl_.php_.patch | 802 bytes | mlissner |
Comments
Comment #1
mlissner commentedHi, can you give me more information on how to fix this so I can fix it on my installation? I know a little php, but I'm not sure where to look for this kind of thing...
Comment #2
senpai commentedIn the node.tpl.php file, the
print $has_termsneeds to be changed toprint $termsSomebody wanna roll a simple patch for this one?
Comment #3
mlissner commentedExcellent fix. It worked like a charm. I've attempted to roll a patch and attach it here, but I can't say I've ever rolled one before so I'm not sure it's quite right. I followed some directions I found to make this using diff. Hopefully it will work.