I've been hacking the event.module theme file to bits and am very happy with the results so far.
The one thing that is sorely missing is taxonomy terms in the table view.

Is there a way to do this?
My experiments with "taxonomy_node_get_terms" only result in "Array" printing to the screen.
I'm willing to hack the module if necessary to get this to work. But, since the event module has it's own way of dealing with taxonomy for sorting and searches it is not obvious to me where i can implement this.

Thanks in advance for any pointers.

Comments

francoud’s picture

OK 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...