The field-collection tag has no wiki summary.
1
vote
1answer
17 views
How to assign a dynamically updating date to a user based on a related field on their profile
I have a site where Users who can expect a delivery to their address every week depending on their delivery route. I also have a Content Type of "Delivery Route" and a Content Type of "Delivery" with ...
0
votes
2answers
14 views
View with nodes but pull only one field from collection
I have a node type of photo-gallery. Each node has a field collection which contains multiple photo fields and caption fields. I want to create a view showing the 5 most recent photo-gallery nodes ...
1
vote
0answers
17 views
Features : export content types with FieldCollection
When I try to export my content type using Features, it works. But when I import it on another Drupal installation, I've got an exception :
Exception : Invalid field name given: **my_field** is not ...
0
votes
2answers
66 views
Views - Add a wrapper around fields or rows
Example:
I have a view with fields:
[field_name] == Field collection item: Name
[field_title] == Field collection item: Title
[field_text] == Field collection item: Text
I can wrap these ...
0
votes
1answer
32 views
Add Fields to Field Group programatically
I have used "Field Group" module and created some groups in backend. Now i want to programatically add a field to the group. How can I do that.
I am using Hook_form_alter, I have noticed that every ...
0
votes
0answers
3 views
Parsing widget - field data import
I'm building my own module with a custom compound field and its own widget. In general it already works, but the Drupal multivalue interface makes the ergonomics at inputting the values very poor.
I ...
1
vote
1answer
47 views
Add html class to body
I've got a block created with views, which displaying a slider.
The slider is created as an unpublished content type with two field collections:
Settings[one value]:
selectors type: thumbs or ...
0
votes
3answers
30 views
Create a field programatically with let me to introduce two values
I don't want to use field_collection ;) I'll be easy.
I want to build a module that create a a field that let me to save two values at the same time, name and date.
I'd like to have both in the same ...
1
vote
2answers
40 views
Field Collection : Query to get the node id by sending a value of a field collection field value
I am having a field collection in a content type called 'client'.
There are,
Client name
Email
Mobile
Address 1
Address 2
Address 3
etc..
as fields. That's it in the client content type.
I am ...
0
votes
0answers
32 views
Fields inside Field collection not showing when exporting the translation file in TMGMT
So I have several Fields inside Field Collection in a Content type.
When I go to Translation Management, and trying to export the "node" that contains the field collection, the export file will only ...
0
votes
0answers
26 views
form api show fields when a button is clicked
I want to show a field (a field collection actually) when a button is clicked. In the form there are two fields, FIELD A and FIELD B, and I want to populate the field in field collection with the ...
1
vote
1answer
123 views
How to properly delete a field collection?
Drupal version: 7.21
Field collection module version: 7.x-1.0-beta5
Short explanation: I'm busy trying to import field collections programmatically but when deleting some of them there's always some ...
0
votes
1answer
66 views
How to import csv file for “field collection” using feed-importers
In Drupal7, In node processor settings -> we can't map field collection values. However they are multiple values, Is there any way of possibilites to import data through CSV file. I tried using field ...
0
votes
4answers
217 views
Extracting a specific data part of a Field Collection Item
I've been playing around with this for the better part of a few days now with no luck. Here is my Collection data:
Collection name: field_video_collection
Within the collection there is a field ...
0
votes
0answers
25 views
how to add a host entity link on field collection item default view using display suite?
I've tried adding a dynamic field relating to host entity but cant find that reference
I'm gessing if I use a view with just the host entity title link ?
is there anoter way to do this ?
2
votes
0answers
28 views
Programmatically insert field collection of Phone fields
I have a profile2 profile type. In profile type i have created the collection for storing the information of form fields.
I have used the phone module to create the phone number fields.
This ...
0
votes
0answers
35 views
Filed collection add more button and form layout issue
I'm using Field Collection module in my current project for storing user information. We have add another user functionality for the same, using this button I can added many users at a one time; as ...
0
votes
0answers
53 views
How do I create a view of content that contains a field collection field with multiple items?
I have a content type (meeting) that contains a field collection (presentation). I'm trying to create a view using views_datasource (XML format) that lists the presentations in each meeting like this:
...
1
vote
1answer
27 views
creating nodes with many to many relationship type with some fields?
This is in line with How to structure a "many-to-many" relationship between nodes.
To keep things in line with the example from the linked thread, what if i was a book warehouse and i had ...
0
votes
2answers
74 views
How do I copy the values of one field collection field to another content type with the same field collection?
I have one content type with a multi-value field collection entity on it.
On the event that this content type is flagged I would like to fire a rule that will create a new piece of content and copy ...
1
vote
0answers
35 views
Default values to field collection module
I have a field_collection, with:
taxonomy select - number(price) - and Rating
To add a value, you have to click the "add more" button.
Is there any way to do it simpler, or at least to set ...
0
votes
1answer
101 views
How to use Field Collection in Webform?
I want to use field collection module in Webform Component, How can I do that?
0
votes
0answers
35 views
Form with lot of inconsistency in fields
I have form with lots of fields, and many of them allow multiple values (like adding many images, field collections). When adding more field collections it is normally realized with ajax - form is ...
0
votes
1answer
60 views
pass result of Rules loop to variable to use outside loop
In Drupal Commerce, i have created a rule that calculates the price by adding some fields (custom line items), and then sets a result.
Now i want to make a loop (to pass over fields of a Field ...
0
votes
0answers
37 views
How To Implement hook_field_formatter_view() to Web Services?
I am trying (unsuccessfully) to implement a hook_field_formatter_view() function that takes a field_collection and generates an array or object that can be consumed by the services module and output ...
1
vote
0answers
38 views
User related content - field collection / views
I got a tricky situation. I'm working on Drupal 7.19 with Views 3.
I want to make a view in user profile page, that will show the user related content. Its sounds easy, but not exactly. The content ...
0
votes
1answer
99 views
get node id of field collection
I have the following code. I am able to load the field collection item using entity_load_single. I want to be able to get the node id for a given field collection item. How can I achieve this?
...
2
votes
0answers
27 views
How to get the parent fieldgroup group_name for a field_collection_table?
My case is the following:
I have a custom node with some field collections and all of these are shown on a htab group, each one in it's own tab.
Now, what I want/need to do is: return to the page ...
0
votes
1answer
104 views
render field collection with already defined custom formatter
I defined a formatter for a field with hook_field_formatter_info()/view(). This field is a field collection and renders fine when I choose my custom formatter through the ui.
I can get my (already ...
0
votes
0answers
37 views
How do I save individual fields of a field collection in hook_node_presave so it will be added for that node?
Below is the code added in hook_node_presave(), which is supposed to change the fields of field collection, but it is not changing the values of field collection for node.
If I print those values ...
0
votes
0answers
71 views
If else to check for empty field for field collection
I can successfully check if a field is empty, then do something, and if it has a value, do something else with the below code, but I cant get anything to work with field collections. The field I need ...
0
votes
1answer
150 views
How to alter a field within an unlimited field collection?
I am trying to set the #access attribute to FALSE on a field that is within an unlimited field collection - so it is hidden from users. I am relatively new to Drupal so I'm not sure how to handle ...
0
votes
0answers
27 views
Linking a field to a node and recording meter readings
I am trying to achieve the following :-
I have a custom content type called as Energy Meter Record that has the following fields:-
a. A field collection called as Meter Record Sheet that has the ...
2
votes
1answer
39 views
Field collection: Can I make a field mandatory depending on another field's value?
I'm trying to set up a custom solution using Field Collection consisting of:
term reference (autocomplete tagging style)
plain text.
What I need to achieve is to react to Javascript event of ...
0
votes
0answers
67 views
How to add field collection date field in scheduling component drupal 7?
I am using drupal 7 , i have used date field in field collection , i want to send email before one week of field collection date , i have made l component which sends email to author , when i made a ...
0
votes
0answers
50 views
Complex Views/Taxonomy display
I am trying to build a menu page for a restaurant and I am stuck. Essentially, I need it to match the picture attached. I am using nodes with fields grouped with the Field Collection module and using ...
0
votes
2answers
66 views
Perform actions on field collection insert or update
I have created field collection and added it to my content type. I have created a node, and now user can add field collections on this node. But i need to write into a file(some stuff) when user added ...
0
votes
1answer
57 views
How to use Views with Fields Collection and filter on where used
I am using Entity Registrations to handle registrations for a sponsored walk. I have setup a fields collection so that registrants can register more than one person at a time.
At the moment there is ...
0
votes
1answer
64 views
Hiding the previous instance in a Multi value field collection embedded widget
I have a multi valued nested field collection with many field in it like checkboxes ,image etc.
Now when adding/editing a node looks clumsy when multiple values added for that field collection.
So I ...
2
votes
1answer
396 views
Passing node id as contextual filter to field collection view
I'm trying to create a view of flagged field collections, filtered by the currently viewed node. I don't seem to be able to add either a relationship nor contextual filter to limit the field ...
0
votes
0answers
79 views
how to attach a flag to field collection or a field in drupal 7
I am creating a node having field collection field , which contains time , date and owner field , and author can add more then one fields while creating , i want to attach flag to each fields so user ...
1
vote
1answer
41 views
Associating Multiple Date/Location Pairs to Node
I'm attempting to create a custom content type in Drupal to represent concerts. Each concert has a title, description, and multiple dates and locations (the concert may be performed on more than one ...
1
vote
1answer
53 views
field collections and blocks
I have a number of content Types (Basic Pages) and a region (right sidebar)
What I'm looking to do, is display a particular fields content in this block depending on what page I'm on.
I know I could ...
0
votes
1answer
197 views
How to alter Fields of Field Collection?
I have a field collection in a custom Content Type.
I wanted to do form alter.
I'm unable to locate the fields of field collection in hook_form_alter(), do we have any other way ?
0
votes
0answers
18 views
Edit functionality for field collection element on node
I am displaying field collection item on node from node.tpl file with help of render function,
and by doing that I am getting edit and delete button,
but after clicking on edit button, my changes are ...
1
vote
2answers
228 views
force image style generation on save node
I've got still my problem described here Image style, reuse image in field collection item but i gave up to get a solution.
A workaround which came up in my mind is to force the generation of ...
0
votes
1answer
104 views
How do I retrieve values of a taxonomy field inside a field collection of a profile2 node?
Can someone tell me how can I retrieve values of a taxonomy field inside a field collection of a profile2 node?
Thanks
1
vote
1answer
193 views
Showing only one of the Field Collection fields through Views
I created a Field Collection field for a content type. This FC has two fields inside: an image field where I can upload unlimited number of image; and the other one is the title field to be used as a ...
0
votes
1answer
57 views
how to add div tag to field collection
I have a field collection named rmr_bar_li. I want to add a div to each line item of field collection, that is within field collection. How can I do that? Can any one help?
1
vote
1answer
109 views
default value imagefield -> get from field collection item
I've got a contenttype "gallery" with an imagefield "thumbnail", used in listviews oder teaserviews. This contenttype also has a field collection with "image", "title" and "description". So what would ...

