Posted by hampshire on April 18, 2013 at 2:34am
I am trying to set the data value of a text field using the filename of attached image but I can not figure out how to do this. I can access the fid and many other values but not the filename.
this works
print $node->field_photos[$node->language][0]['fid']; this does not
print $node->field_photos[$node->language][0]['filename']; Any suggestions?
Thanks
Comments
Updated original post
Updated original post rather than reexplaining myself in a second post.
if you can export your rules
if you can export your rules and attach it here, it will be better.