Hi guys
i'm new on Computed Field and i need a little help 'cause i don't understand why a simply, simply code doesn't work .

I wanto to combine three fields and i set this code:
Computed Code:
$node_field[0]['value'] =
$node->field_advertiser[0]['value'] +
$node->field_advertiser2[0]['value']+
$node->field_advertiser3[0]['value'];
Display Format:
$display = $node_field_item['value'];

Doesn't display nothing...tried also :
Computed Code:
$node_field[0]['value'] =
$node->field_advertiser[0]['value'] .
$node->field_advertiser2[0]['value'].
$node->field_advertiser3[0]['value'];

But i can be able to display computed value

Can you help me ?
Thanks in advance

Comments

dqd’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Due to the Drupal core life cycle policy and security support advisery, Drupal 6 is no longer supported. So issues for Drupal 6 cannot be longer maintained. The project maintainer has asked for closing all D6 issues to clean up the issue queue. Feel free to reopen the issue if required or set it to "needs to be ported" and latest D8 dev version, if the issue discusses a still missing feature which can be implemented in the D8 version.

dqd’s picture

Status: Closed (won't fix) » Closed (outdated)