I have one field collection with 4 fields. How to get the data of field collection in views tpl file
I am trying to load data as
field_collection = entity_load('field_collection_item', array($node->field_suppliers_value['und']['value'])); print_r($field_collection);
The fields in field collection are one is text field and another one is entity reference and one more is term reference and last one is date type.
I am able to retrieve the data only for text data type and for other data types it was showing as [target_id]=some number.
How can i retrieve the data for other data types except text.