PHP only returns the node id for each field variable it doesn't return the actual field value

here is an example of the returned array
stdClass Object ( [field_group] => 236 [field_image] => 236 [field_item_price] => 236 [php_1] => [field_special_price] => 236 [edit_node] => 236 [php] => [body] => 236 [title] => soap)

Comments

keesee’s picture

+1

richH’s picture

Definitely also +1. This error is making the module totally useless. I can't believe more people aren't having this problem. It's stumped me and I can't find a way around it.

cimo75’s picture

+1

cimo75’s picture

I solved using normal fields callbaks

vlyalko’s picture

Can you please share how exactly did you solved this problem. I am having the same issue. The interesting thing is that in the different view withing the same site PHP field working like a charm. Thank you

chaloum’s picture

@vlyalko using the data token

richH’s picture

Hi,

apart from the fact that I really don't understand #4 and #6, I still think that this is a bug which needs to be fixed on the module to make it usable. Or are we doing something really wrong?

Cheers
Rich

johnv’s picture

Status: Active » Closed (duplicate)