Title only takes the first argument
rapsli - September 26, 2008 - 07:13
| Project: | Timeline |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I'm doing some debugging in the code. timeline.module line 281:
$event['title'] .= $field['id']." title ".$view->field[$field['id']]->render($item);
My $item actually contains several different fields, which I want to display. Maybe it would be better to use a theme function there, so it can be overridden. What are your thoughts on that?
| Attachment | Size |
|---|---|
| Abwesenheiten - Plattform HPL_1222412918725.png | 3.23 KB |

#1
my dirty hack for now:
<?php$event['title'] .= $view->field[$field['id']]->render($item).' '.$item->profile_values_profile_nachname_value;
?>
#2
I think that using a theme function for the title is a fine idea. Honestly however it's not a priority, but I'd be happy to commit a patch.
#3
oky... I'll get back on that.