Field collection is a module that provides a field-collection field to which any number of fields can be attached.

learn more… | top users | synonyms

0
votes
0answers
8 views

Pick up field collection within another field collection

I'm trying to pick up a field collection value within another field collection. The parent field collection, I can pick up the values just fine, but it's the collection within the collection I'm ...
0
votes
0answers
9 views

custom field collection in view (style output) template drupal 7

I use the module Field collection and Field collection table to display some data as a table. I created a page to display the fields in the field collection of me. I need to customize the theme ...
0
votes
1answer
7 views

How to customize the “Remove” button in a multiple field (collection)

So, you have a field (collection, it's the same there) defined with unlimited values, and thus have an "add more" button and a row per distinct value. Let's call the field termine. Now you have to ...
0
votes
0answers
6 views

Add Host Entity fields in search api Index of Field Collection

I have made an Search API index for Field Collection item. I have added fields in it but the problem is that I also want to host content type fields in the index too. It's not allowing me to do so. ...
1
vote
1answer
32 views

How to get field value from referenced entity inside a field collection

My structure is as follows: I've got a custom contenttype with a multivalue field containing a field_collection. In this field_collection there are an amount field, a entity_reference_field and a ...
0
votes
2answers
19 views

Exporting from Field Collections and Importing to New Content Type

So here's a high-level overview of the situation: we're running into a lot of issues with the field collections module, but a lot of content has already been created for a content type that uses two ...
2
votes
2answers
172 views

Drupal site Phonegap application field collection

I'm in the process of making a Phonegap application to create nodes of a certain content type. The site I'm writing data to/getting data from utilises Field Collection module, and I've looked at the ...
0
votes
1answer
55 views

JavaScript errors with 'Add collection', 'Select media' (Media, Field Collection)

I drupal 7 site that I did not build but now maintain has developed an odd error. About a month ago the site lost the ability to add an image to a Media field inside a new addition of field ...
2
votes
3answers
62 views

Views - Exposed Filter for 2 Field Collections with Same Fields

I have a content type with 2 Field Collections(both set for unlimited values), they are Author and Editor. Both field collections are using the same fields(first_name and last_name). In a Views that ...
0
votes
3answers
33 views

How to manage a field collection in a table?

I have a field collection called My links. My links contains these fields: Organization Name (Text Field) Description (Long text with summary) Link Url (Link Field) This is a pain to manage ...
0
votes
1answer
23 views

Unique violation when trying to create field collection in Rules

When I try to create a new field collection for a node I just saved, I encounter following error: PDOException: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique ...
0
votes
0answers
10 views

Drupal Field Collection Path - Broken Images

My field collection slide show is showing broken images. I've check the patches, nothing to say about that. any ideas. http://dev-httpwwwrestechsyscom.pantheon.io/content/tesre Nor is the slider ...
1
vote
0answers
14 views

How to get a field collection field to correctly render with hook_node_presave?

I have a field collection field that I put one field into, and I am writing a custom module to fill that field. I populated the field myself once via the UI to make sure it would display correctly, ...
0
votes
0answers
14 views

Add/Remove button single embedded field_collection on node edit page

I have a content type that has a connected field_collection. The field is embedded on the nodes edit page. Since the field only may hold one value no add or delete button is displayed. I think it ...
0
votes
0answers
15 views

Autoincrement class for field collection items in template

I have a field collection, which contains another field collection and a field. Right now I'm using a .tpl file to theme this collection and I'm wrapping content inside a div. I want every item to ...
0
votes
2answers
36 views

How to sort view by a field that is part of a field collection?

I had searched solution for my problem, but I didn’t found anything good. I have custom a node type Client with Field Collection Product. My field collection has two fields: name of the product ...
0
votes
0answers
11 views

Field Collection fields shows changed data in views rows if workbench is applied on node

I am making a view of node which displays data of Name field created in field collection . I also used workbench module to maintain moderation states of node . One problem I am facing after updating ...
1
vote
2answers
28 views

Field collection with condition node tpl

I've been researching this for the last few days and I cant find a clear explanation of this issue im facing. I'm receiving an error when a node has an empty collection with no values. The ...
0
votes
0answers
31 views

How to assign taxonomy term TID to field collections term reference field programmatically?

I have a field_collection field attached to user profiles. This is an "unlimited" field, so, the user can add as many addresses as they like via their profile page. However, I also need to add ...
0
votes
0answers
20 views

How to get field from Field Collection in Views template?

I have a field collection - field_video_item. I need to get the image field from this field collection in a Views template. How can I do this?
0
votes
1answer
51 views

How to add values to field collection fields within user profiles

I have a field collection that contains several other fields (text and taxonomy reference) for collecting and unlimited number of addresses. I have added this field collection to user profiles. This ...
3
votes
2answers
50 views

Customize HTML for field in field collection

My field collection template is ds-1col--field-collection-item-field-video-item.tpl.php. I need to access the Image field so that I can customize the HTML. I've tried the following by neither work: ...
0
votes
1answer
20 views

Show Field Collection fields together in same field item

I have a field collection with two fields - Image and Caption. How do I get the two fields to display in the same field item? Right now the HTML is: <div class="ds-1col entity ...
5
votes
1answer
92 views

Group items in Views by value in Field Collection

I have a content type (content type X) containing a Field Collection field. This Field Collection field consists of a Node Reference (content type Y) field and a text field. I would like to create a ...
0
votes
0answers
8 views

Views and Field Collection: Merge duplicates

I have a content type "Person" which has a field collection field "Skills". Each skill has a name and 2 other fields. Each Person can have multiple skills. I want to view each Person, with their Skill ...
1
vote
1answer
34 views

How to order multiple values in a field collection

I have an Content type which includes a field of type Field collection, of which there can be an unlimited number of values. I can't work out how to order the rows of data that are displayed by this ...
1
vote
2answers
124 views

Flexible node grid

For a website I need to show nodes with a flexible grid. There will be several rows (no specific number) and each row can contain: 1 full width image 2 50% width images 1 50% width image ...
1
vote
1answer
28 views

Move content from field to field collection

I'm working on a site where a current content type has six image fields, six title fields & six content fields. One field from each (one image, one title & one content) all make up one group, ...
0
votes
2answers
97 views

Add class to field collection wrapper

I've got a field collection with has a div wrapper with the classes "field-collection-container clearfix" I'd like to add an additional class to this div. How would I go about this? I've tried this: ...
1
vote
2answers
20 views

Editting field collections with service api

I am trying to build an phonegap app which uses data of a drupal site. I need to update some informations with using app. For example I have nodes and users need to update field_collections of a node. ...
0
votes
1answer
34 views

Strip HTML tags from Field Collections in Services Views

I'm trying to strip the HTML tags from a JSON response I generated using Services Views, but I'm not having any luck so far. I have a content type with a Field Collections field in it that is ...
0
votes
2answers
34 views

How to read the field collection data

I have a field collection with name as 'TELEPHONE NUMBERS AND DETAILS' and the machine key as 'field_telephone_numbers'. When I use node_load getting the output as [field_orgs_number_details] => ...
1
vote
1answer
40 views

Using field api to get key of select list option

I need the safe output of a key from a select list field within a field collection item. I'm theming a field collection item and one of the fields is a select list like: icon-map|Map icon-info|Info ...
0
votes
0answers
18 views

view attached to a field collection filtered by taxonomy term in fc

I have a field collection with a reference to a taxonomy vocabular. And I have a view, attached as EVA field (or even a block) to this field collection. The view displays nodes which have a reference ...
-1
votes
1answer
49 views

Field collection 'add more' and 'remove' hooks?

I am currently working on a project where i have a content type that has 2 field collections. (with cardinality 1) Each field collection has one other field collection (with unlimited cardinality). ...
0
votes
1answer
57 views

How to add / update a field collection without updating parent node/entity drupal 7

I needed to to add / update field collections to node entities without updating the node entities. I tried two ways listed in https://www.drupal.org/node/1842304 and ...
0
votes
1answer
28 views

Deleting field collection items

There is a content type called library which has a field collection type as a field and unlimited number of this field is allowed. I used Devel module to generate 200 nodes of library, so more than ...
0
votes
1answer
33 views

Lightbox doesn't show images loaded by entity_metadata_wrapper

There is a field collection in a content type, it's name is field_jeld. This field collection has an image field, it is field_image. I also defined an image style called book_mini. I need to load the ...
1
vote
2answers
24 views

Is it possible to attach a single field collection to multiple nodes? (And so make updating easier)

Firstly is it possible to attach a single field collection to multiple nodes (so when you opened each node, you'd see the same field collection. If you altered one, they'd all change.) And secondly, ...
2
votes
1answer
120 views

“Add another item” button before field

I'm trying to place "Add new item" button before the unlimited values field. Also two buttons un top and below field will work. In custom module added new button but it brakes AJAX call for both ...
0
votes
0answers
40 views

Search on field collection with EntityFieldQuery

I have a node resource with fields name files (field collection) And field collection with fields title path How can I search all node have file title = 'example' How can ...
0
votes
1answer
64 views

Auto Increment value for field collection

I have a field collection group to which I am importing values using Field Collection Feeds Importer. This requires a unique identifier field within the field collection. This has posed an issue where ...
0
votes
1answer
45 views

How to grab the values of field collection items in a template file?

I have a field collection field_plaats_en_aantal with two fields: field_plaats (text) and field_aantal (integer). I'm currently displaying this field collection in a node view as an unordered list: ...
0
votes
1answer
38 views

Bulk delete field collection items

I have a case where there are a number of field collection items that need to be bulk deleted. There are 5000 nodes with a field collection. (Note that I want to keep nodes!) Would Views Bulk ...
0
votes
1answer
28 views

programmatically get bundles from field collection?

Say I have the machine name of a given field collection. How can I programmatically get the names of the node bundles where one would find this field collection? This would be the same information you ...
2
votes
1answer
73 views

FieldCollection/PLUpload - Recurring error when uploading images on PROD - “No file by that name exists”

TL;DR Pantheon's distributed file system can't handle modules that refer to the temp file system across multiple requests, which messes up the Plupload module. What alternatives are there? The error ...
0
votes
2answers
61 views

How to get date values from field collection to a node?

I am trying to print the values from a field collection using following code in Drupal 7 node.But the date values are not getting. $wrapper = entity_metadata_wrapper('node', $node); $formtype = ...
2
votes
1answer
121 views

fatal error after deleting anything [closed]

Whenever I delete something in my website I face this error: Fatal error: Call to a member function delete() on a non-object in .../sites/all/modules/field_collection/field_collection.module on line ...
2
votes
0answers
65 views

Can I panelize a field collection entity?

I have made a fieldable panel pane that uses a field collection to collect one or many pieces of content. I have included in the content a link to itself so that I can open the new content in it's ...
0
votes
0answers
59 views

Drupal 7 - Rule sending email with field collection

I've defined a content type that contains a field collection. The field collection contains 4 fields. When the content is created, it may have one or more of the field collections. I set up a rule ...