problem with using ['view'] in PHP filter

doener321 - August 12, 2009 - 11:04
Project:Content Templates (Contemplate)
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

I have a problem with using $node->field_auf_kategorie[0]['view'] in a PHP Filter input field.
Description:
I hava a node type "Auftrag", which has CCK based fields.
One of the fields ist a key->value field.
For example. red->Rot, green->Gruen.
With $node->field_auf_kategorie[0]['value'] is get the left part (red), but i need the right part (value) of the field.
But ['view'] and ['safe'] are always empty.

with best regards

 
 

Drupal is a registered trademark of Dries Buytaert.