Closed (fixed)
Project:
Event
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Sep 2006 at 13:08 UTC
Updated:
5 Jun 2008 at 07:29 UTC
When in the "event_node_day" display - display a list of the events of a single day - I would love to have the list of terms related to the node. Exactly the same I have when I simply look a single node.
I tried working in the event.theme, in the theme_event_node_day function, also trying to use taxonomy_node_get_terms - but I've no success. I've seen similar needing in other postings (http://drupal.org/node/41776).
Can anybody help?
Thanks... :-)
Comments
Comment #1
francoud commentedOK I answered by myself... :-)
I hacked the event.theme and, in the theme_event_node_day function after the line 78, I added this code:
//----------
$myindex = 0;
$categories = taxonomy_node_get_terms($node->nid);
$output .= '';
foreach ($categories as $category) {
if ($myindex >0) $output .= ' | ';
$output .= l(t($category->name),'taxonomy/term/'.$category->tid);
$myindex++;
}
$output .= '';
//---------------
It works for me. I suppose that I'll loose this hacking at the next event's module update...
Comment #2
killes@www.drop.org commentednot a patch. I think the request is reasonable, though.
Comment #3
francoud commentedOld thread... I think I should close it...