Closed (fixed)
Project:
I Feel Dirty
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2008 at 19:44 UTC
Updated:
20 Jan 2010 at 07:49 UTC
Taxonomy Terms are not being displayed in nodes. I think it could be a scope issue.
Here's how I fixed it for my site:
In template.php, change the code in function ifeeldirty_preprocess_node()
from...
if ($variables['terms']) {
if ($meta) {
$meta .= ' '. t('and is filed under !terms.', array('!terms' => $terms));
}
else {
$meta .= ' '. t('This entry is filed under !terms.', array('!terms' => $terms));
}
}
to...
$taxterms = $variables['terms'];
if ($taxterms) {
if ($meta) {
$meta .= ' '. t('and is filed under !terms', array('!terms' => $taxterms));
}
else {
$meta .= ' '. t('This entry is filed under !terms', array('!terms' => $taxterms));
}
}
Thanks for the great theme,
Craig
Comments
Comment #1
itangalo commentedI experienced the same problems, and I can confirm that code modification worked fine for me.
Thanks to anyone involved.
Comment #2
davidneedhamI can also confirm that this update to the code works. Can this get copied over to the current version please?
Comment #3
davidneedhamI dunno if anything has been done, but this ticket has been unchanged for over a year - I'm closing.