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
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?

AttachmentSize
Abwesenheiten - Plattform HPL_1222412918725.png3.23 KB

#1

rapsli - September 26, 2008 - 07:39

my dirty hack for now:

<?php
$event
['title'] .= $view->field[$field['id']]->render($item).' '.$item->profile_values_profile_nachname_value;
?>

#2

jmiccolis - October 6, 2008 - 20:47
Category:bug report» feature request

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

rapsli - October 13, 2008 - 03:32

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

 
 

Drupal is a registered trademark of Dries Buytaert.