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?

Comments

rapsli’s picture

my dirty hack for now:

$event['title'] .= $view->field[$field['id']]->render($item).' '.$item->profile_values_profile_nachname_value;
jmiccolis’s picture

Category: bug » feature

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.

rapsli’s picture

oky... I'll get back on that.

xamanu’s picture

Title: Title only takes the first argument » Theming title of events through a theme-function
Version: 6.x-1.x-dev » 6.x-2.x-dev

targeting 6.x-2.x branch.

xamanu’s picture

Status: Active » Closed (duplicate)

this is a sub feature to what is going to be discussed here: http://drupal.org/node/335314

xamanu’s picture

Status: Closed (duplicate) » Fixed

There is a theme_timeline_bubble_title() function available now. Commit: #252918

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.