Closed (fixed)
Project:
Field collection
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Nov 2011 at 17:18 UTC
Updated:
10 Mar 2014 at 18:00 UTC
Jump to comment: Most recent
Comments
Comment #1
iangrigiani commentedsubscribe
Comment #2
patchshorts commentedsub
Comment #3
guybedford commentedI don't know if it helps or not, but the way for loading field collections with entity_load on a node template is described here: http://drupal.org/node/1294536#comment-5362592
Comment #4
jmuzz commentedThat's really all there is to it. The ID of each field collection entity is stored in the field in the node, and once you have the entity you can access its fields the same way you access the fields in a node.
It may be better to use entity metadata wrappers instead of raw entities.
https://drupal.org/node/1021556