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

1
vote
1answer
18 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
31 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
15 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
18 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
30 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
14 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
15 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 ...
0
votes
2answers
28 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
23 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
23 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
18 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
23 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
105 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
21 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
32 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
28 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
32 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
21 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
0answers
50 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
52 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
71 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
40 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
46 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 ...
1
vote
1answer
86 views

Solr index fields not showing a field

I have a field within a field collection that I need indexed. It's not showing up in the /admin/config/search/search_api/index/solr_node_index/fields page. I tried using this to try to add it myself, ...
1
vote
1answer
77 views

Drupal 7 field collection tpl no output on render

I'm using Drupal 7 with field collection module. I have my tpls setup and being triggered using the render function; however, even though the tpls are being executed, the output is being thrown away. ...
1
vote
2answers
49 views

Need to automatically rotate the result of a view once a week (Sunday night)

The view (block) displays content (field collection items) on my home page. I had it set so the client could choose what to display by checking a boolean field. The view works fine, but now the ...
1
vote
0answers
60 views

Sort view items by field collection's field value

I added a field collection to Basic page that contains: box title box image box position on page You can add 0 or more field collection's items to every basic page. Every node may contain 0 or ...
0
votes
0answers
41 views

How i print the values from a Field collection in node to an accordion?

I have a field collection 'field_test_outline' under this there are two fields given 'field_enter_module_name' and 'field_enter_module_details'. Module 1 details...... Module 2 ...
0
votes
0answers
67 views

403 Error on AJAX Request in add new item (collection field)

I have normal content type which has 12 collection fields each field has unlimited value when i try to click add new item on any field it gives me ajax error An AJAX HTTP error occurred. HTTP Result ...
0
votes
0answers
14 views

Sortng the field collection in the user-profile.tpl.php

I have rendered field collection in the user-profile.tpl.php like and its working fine and i need to sort the fields as per my case with out view. How to perform the this sort by useing custom code ...
0
votes
0answers
45 views

How to add additional Ajax functionality to unlimited field collection items?

I have a field collection (cardinality = unlimited) that holds another field collection (cardinality = 3) that holds a select list with three options (required). For better understanding I left ...
0
votes
1answer
80 views

Use computed field to calculate Field collection

I have a field collection named values. It contains the fields: Amount Price Total The "Total" field calculates the Price*Amount. Now I created a new field outside the field collection called ...
1
vote
1answer
27 views

Metatag on field collection page

I work on drupal 7, In content type add New field type field collection. Add content and use meta tag. In content page (node) meta tag display properly, In field collection page ...
0
votes
1answer
70 views

Field Collection vs. Entity View Modes with Field Group

I have been using Entity View Modes to organize my fields, have different display types, and use Field Groups to add bootstrap-style wrappers around my content. As often as humanly possible, I have ...
0
votes
0answers
62 views

Field collection tabs on node edit form

I have a field collection field with 5 text and image fields per field collection item. On a node with lots of field collections, this makes it very difficult to navigate the node edit form. I am ...
0
votes
0answers
37 views

Drupal 7 - Add Custom entity to a field collection

I have a custom built using Entity API which is fieldable which is working fine till now. Now I have added a field collection using field UI, but as per project requirement we need the fields inside ...
0
votes
1answer
109 views

How to use Views PHP get Taxonomy field value and field collection value?

Dear drupal expertise, I am currently using Views PHP module to use Field Global PHP to render view value, but I dont know how to read taxonomy field value and field collection value, did anyone ...
0
votes
0answers
81 views

inline edit with editable-fields and field-collection fields

I have created a view of profile2 data, some kind like a extended user profile where users can add some personal data and other information of interest. I chose the view because in a next step of ...
0
votes
1answer
40 views

Add field collection table in code

I am creating a form to collect data for a specific content type which has a field collection in it. So basically I am creating nodes manually through form API. What I need to do is to add a field ...
0
votes
0answers
52 views

Fetch values from Field Collection or Multifield on Node to Entityform

I am working on a booking system where I have a content type of "Company" with an unlimited Field Collection of "Services". The "Services" field collection has 2 fields: "Service Name" and "Price". I ...
0
votes
2answers
59 views

How to calculate the sum of the values of a multi value field without page reload

For a content type with a decimal field with unlimited values (rows), how can I have another field in that same content type that shows the sum of all of the decimal values from the multi value field? ...
0
votes
1answer
45 views

Field Collections & Checkboxes

I am trying to alter a field collection which has a couple of select/ textfields and a checkbox. When the checkbox is checked and another item is added to the form, in the previous instance the ...
0
votes
0answers
34 views

Problem with views calc and multiple lines in field collection

I have a problem with the module "views calc" and some field collections. To explain my problem i have a node and in this node a field collections, with 3 lines like this : Line1 | Description1 | 50 ...
0
votes
1answer
67 views

Empty field collection in hook_node_presave with entity_metadata_wrapper

I have a node with a field type field_collection which has 2 items: $node->field_field_collection['und'] = array( 0 => array('value' => 1), 1 => array('value' => 2), ); on the ...
0
votes
0answers
84 views

Use Facet API to filter field collections on a node

When you add additional fields from a field collection to a search index the fields are associated only with the parent node, not also with the field collection itself. Is it possible to setup Search ...
0
votes
1answer
64 views

Drupal 7 CKEditor while replacing from textarea media files are not rendering

I'm working with Drupal 7 + WYSIWYG module + CKEditor + Field Collection. My issue is, CKEditor is not rendering the media files which is included through media browser. Steps to reproduce: Create ...
0
votes
1answer
68 views

Facet API filtering on field collection items

I am looking at implementing the following usecase: I have a content type "Product" that contains a field collection "specs" with several fields. (weight, width, height, ...) I now want to create ...
1
vote
1answer
122 views

Insert several lines in field collection programmatically

I have a problem with field collection and entity reference fields. I have a field collection called 'field_co_intervenant' and i want to add several entities in this field collection and after saved ...
0
votes
0answers
41 views

Add another set of field collection to the $form in mymodule_form_alter

I am working on custom quiz module, where we have Multiple choice questions. We have created separate field collections for Question and it's options. Author can add unlimited number of question and ...
0
votes
2answers
154 views

Entering inner fields after attaching a field collection entity programmatically

CONTEXT Adding a node with its field-collection field and inner fields programmatically. Saving the node. Then trying to reach the inner fields - bam! - they are not in the array! MORE INFO if I ...