Hi folks:

I am trying to print a field from a user profile (created using default user system in D7) in Views. The problem is that the variables it gives me in PHP Field do not work--my field is "organization name", and the variable it shows me is: "$row->field_organization_name"

This only prints the number "2". Can anyone point me to where it is documented? I'm just not sure what syntax to use to print this.

Comments

joel_osc’s picture

I know this is a late reply, but in case anyone comes across this posting, the problem is that $row->field_myfieldname just contains the nid of the node. Here is a link to the bug report: http://drupal.org/node/1188158