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
1answer
47 views

Building a full featured gallery with voting system

I'm looking for a way to build a simple gallery node type in Drupal, with vote (with Votingapi and Fivestar)per image enabled. (1 vote per image, per node, per user, and users are able to vote on any ...
0
votes
0answers
4 views

How to fix field_collection_ajax save error?

I have Drupal 7.41, field_collection 7.x-1.0-beta10+1-dev, and field_collection_ajax 7.x-1.x-dev On the site I am admin of, we have a disease content type, and a part of each disease node is its lab ...
0
votes
1answer
9 views

Show/hide fields bij adding content based on checkbox

Is there a way to hide a specific or specifics fields in Drupal when you create content until you checked a checkbox? Now it looks like this: I need something like this: But I need some ...
0
votes
0answers
7 views

Manually Label Fields For Users [on hold]

In one of my content types, my client would like to have fields that are blank so he can label them and give them a value. For instance, I have a field name Trust. It is set as unlimited in the adds. ...
0
votes
0answers
15 views

“Missing bundle property on entity of type node” when migrating field collection

I'm trying to import field collection entities using Migrate and MigrateD2D (the sites on both sides are D7 sites with the same content types and field collection fields). I followed the instructions ...
0
votes
0answers
16 views

Views 8.x fields collection relationship

In D7 views it was very easy to get to a particular field from field collection - by relationship. How about now? I can not see any relationship connected with this collection. I am able to display ...
1
vote
1answer
35 views

How can I combine the fields of two field collections in my theme?

Update: I really appreciate @NoSssweat's answer, but it isn't what I'm looking for in this case, so I'm still looking for an answer. Please help me better understand how to crawl through and combine ...
1
vote
1answer
32 views

How to get the NodeID from ItemID of connect Item from Field Collection

I have a nodetype which is has a connected field collection (multiple values). In this case one of items of the collection is a date and I have got the ID of this one. So: ...
0
votes
1answer
13 views

Token for field in field collection

I have a field collection with 3 fields (title, image and link). I'd like to link the title and image to the value of the link field. I'm using the linked field module to make the fields linkable and ...
0
votes
2answers
28 views

How to do some calculations using fields within a Field Collection field?

I have a Field Collection field and I'm trying to do the following: Multiply the value in one field with the value in another field and have the result shown within a third field. I have tried ...
3
votes
1answer
33 views

Field Collection vs. Paragraphs

I used Field Collection in my previous sites and I faced some performance issue, So this time i am looking a alternative for Field Collection. I find a answer Alternative to Field Collection. but I ...
0
votes
2answers
18 views

Does having too many cck fields negatively affect site speed and performance?

I building a site that could potentially utilize 50 different content types. The most of the content types have more than 40 CCK fields, including multiple field_collections entity_reference. How can ...
1
vote
1answer
33 views

Remove field-collection-view and field-collection-container fromt field output

I am using the following modules: Paragraphs Field Collection I am trying to Foundation 5 classes to re-create the zurb foundation orbit slider with unlimited slides. Initially my problem was ...
0
votes
0answers
22 views

Add set of fields to every field - how to implement?

We have a new requirement that we need to keep information (a set of attributes) associated with every field of content type A. This is essentially meta-information about any given field's data. (I ...
2
votes
2answers
33 views

array_flip(): Can only flip STRING and INTEGER values with nested Field collection [closed]

I'm getting the error Warning: array_flip(): Can only flip STRING and INTEGER values! in EntityAPIController->load() when using a field collection in another field collection. Is this a bug in ...
1
vote
3answers
43 views

Views custom style

I have a field collection displayed in a view. Currently, it renders it this way: I'd like to render all items in one green box though, not all items in a box seperately. I thought I would be able ...
0
votes
0answers
12 views

Field collection item display settings

For a certain content type, I used field collection item to display a set of documents. The collection item's name is "Name1". I then added a field to the field collection item. It's name is also ...
0
votes
1answer
6 views

Unable to save field collection order of collection that includes entity reference anymore

I have a Drupal 7 site using field collection and entity reference. The collection includes one entity reference and a boolean checkbox. It is used to related "news" nodes to a page. The checkbox ...
0
votes
0answers
13 views

How to: Iterate a field collection when constructing a rule

I'm trying to write a rule that will send an email to users of a role. Within the body of the email, I'd like to display the contents of a nested field collection. I've tried using what rules gives me ...
0
votes
0answers
22 views

update a field-collection from a computed field

I'm able to retrieve the fields of the field collection attached to my content type, using codes like : foreach ($entity->field_collection[LANGUAGE_NONE] as $line) {..} or from an entity ...
0
votes
1answer
38 views

Overriding Field Collection output

I have a content type named: lectures In this content type I have a field collection field named: field_course_video_slide_sync This field collection consists of 3 fields: field_start_slide_sec, ...
0
votes
0answers
15 views

How to set Views to show field-collection entries with not duplicated other fileds?

I have two fields in content type. One is "link", other is "file&text"(field collection; number of values: unlimited) with two fields: "file" and "text". Relationships: Content: "file&text" ...
1
vote
0answers
17 views

Field collection structure using entity wrapper

I have a requirement on a site where users have: Membership periods and parents or guardians. Both can have an unlimited number of instances, and are similar in setup. The first is a Field ...
0
votes
0answers
39 views

How to customize the widget type of a field collection on Order Edit pages (/admin/commerce/orders/[order-number]/edit) in Drupal Commerce?

I have a field collection inside the customer billing profile. Some orders have so many field collections (500+) that visiting /admin/commerce/orders/[order-number]/edit results in a white screen and ...
3
votes
1answer
40 views

Preventing a field from rendering on a page

How would I prevent field_home_slider from rendering when $page['content'] is loaded? I only want it to load when I call it separately. I also still want the page content to be displayed just do not ...
0
votes
1answer
50 views

Conditional display of paragraphs items

We use Paragraphs quite extensively in our site. We have about 10 bundles available. What we' like to do is alter how the paragraphs are displayed on various pages; Ie, we'd like to remove bundle a ...
0
votes
0answers
12 views

How to add a specific number of Field Collection items drived by a textbox with OnChange event?

Here is a FieldCollection of "FirstName, LastName" As you can see, there is a Textbox "Spaces" and under that a tables which is comming from my Field Collection. Right now if I want to add a ...
0
votes
0answers
5 views

Recoverable fatal error: Object of class stdClass could not be converted to string in InsertQuery_pgsql->execute()

I have a problem with a rule, which uses rule component. On the execution, I experience this error: Recoverable fatal error: Object of class stdClass could not be converted to string in ...
0
votes
0answers
17 views

Unable to implement RESTful class for field collection

I am attempting to use the RESTful module to create a rest server, and I need to get the path for an image that is stored in an image field within a field collection. There is a ...
0
votes
0answers
14 views

Combining Field Collections as A Form

I have several field collections from different content types. I'm looking to allow users to go to one place to edit these fields as a form. Is this possible?
0
votes
1answer
24 views

location fields are not appearing on feed mapping while location module is used inside field collection

I want to import field collection through feeds but since I’m using location module inside the collection module due to this it’s not appearing on target list as you can see the below screen short. ...
0
votes
0answers
13 views

location module have problem with field collection it's not appearing in view

I have used location module inside field collection. If we use location as a normal field (Outside the field collection) then it will appear in both view and node details but if we use inside the ...
0
votes
0answers
11 views

Nested field collections ajax wierdness

Running into a really odd issue that hopefully someone can point me in some direction other than the circles I'm going in currently. I have a quite complicated node with a field collection in it. ...
0
votes
0answers
17 views

Field Collection with a radiobutton field for the collection

I have a node type. It contains a Field Collection (multiple fields bundled together). They are image entities (image file, alt, description, etc.). I would like to set one of the Field Collection ...
0
votes
0answers
18 views

View calc and multiple field collection lines

I came here because I have a problem with view calc module and several lines in my field collection. So first the result of my view look like this : All this fields are in the same content type, ...
1
vote
0answers
22 views

Adjusting Drupal views filter

Can someone please help me to adjust views filter in Drupal. I have content type with field collection and it is displayed through Field collection views module. Also, I have a field collection ID ...
1
vote
1answer
31 views

Create entity form as a table

I am looking for a way to create a table entry form for an entity type. We are trying to create an invoice form. I am currently using a field collection for each invoice line. Order (node) Invoice ...
1
vote
0answers
41 views

Are field collections suitable to model single instances of hosted entities? [closed]

I know that field collection is suitable for dynamic content, in which I can put many instances of the same hosted entity embedded in a host entity. But, if I have a host entity composed by a single ...
0
votes
1answer
20 views

How can I add multiple field collections based on a reference on a new node

I am trying to figure out how can I add multiple field collections to a node when a user starts filling out a node. Here is how my nodes are basically set up: Color Card Content Type: - id - name ...
1
vote
1answer
51 views

How to change core search result snippet?

I want to change core search result snippet. I tried with preprocessor theme_preprocess_search_result(&$vars) but in $vars['result']['node'] there coming basic fields values and rendered content ...
0
votes
1answer
30 views

Referencing logged user and node relations.

I am trying to solve a problem with no luck: I have 4 objects in Drupal: -Company user (role company) -Mod user (role moderator) -Node Project -Node Person (not a user entity) Company user can ...
0
votes
0answers
8 views

Update parent node field when a field collection is edited, added, or deleted?

Arg I have tried so many things to figure this out. I have an unlimited field collection. Each item in the field collection has a value. in node_presave I loop through this field collection, add up ...
1
vote
0answers
14 views

How to make a slideshow with collection field?

I have a content type called Building. These buildings have many planes with its own name. In my content type, I have a collection Field (unlimited values) whose sub-fields: Image Title I'm trying ...
0
votes
0answers
7 views

Batch API deletes Field Collection Items Generated in the process

I have a custom batch process to import/generate field collection items for a node. The number of field collection items to be generated is about 700+. I could see that the field collection items are ...
0
votes
0answers
77 views

How to set value to an unlimited field collection using rules?

I want to copy the values of the field collections from entityform to node form. I tried to loop my field collection, then set value of the field collection from entityform to entitycreated, but ...
0
votes
0answers
57 views

How to autofill/prepopulate multiple field collection from the value of an entity reference?

I'm currently using entity reference autofill to populate all of my fields but I have a problem with unlimited field collections. It's doing an offset of the first field collection and not getting the ...
0
votes
1answer
60 views

How to render entity reference data in field template?

I have a field collection with adding multiple items. In each item there is an entity reference field with multi-selection of contents. I can render entity reference content by target_id using ...
0
votes
0answers
12 views

How to avoid computed field to run on entity delete?

I have a computed field that does something based on field collection fields, saving the values in the database (standard behaviour). The problem is that the code is ran also when the node is ...
0
votes
0answers
21 views

Taxonomy, field collection and view

Here's my case: I have a content type with -- field collection fc_file I have a taxonomy term with -- the same existing field collection fc_file In my field collection, I have: -- file pdf field ...
0
votes
0answers
26 views

How to retrieve old values of a field collection with Rules?

I'd like to update other fields/entities with the values of an entity reference field embeded in a field collection. So I've started to build a rule for testing purpose that can handle to old as well ...