Active
Project:
Computed Field
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2011 at 23:35 UTC
Updated:
26 Dec 2011 at 23:35 UTC
I can get teh URI and PATH fields from a NODE... but I can not get the TITLE or VID
$entity_type = 'node';
// If the key inside items is fid:
$items = field_get_items($entity_type, $entity, 'field_android_appiconpng');
$fid = $items[0]['fid'];
$uri = file_load($fid)->uri;
$path = file_create_url($uri);
//$vid = file_load($fid)->vid;
//$vid = $items[0]['vid'];
I am trying to create a SubDir with the terms /zipimages/images-[NID]
and I am not having any luck...