Questions tagged [drupal-field-collection]

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

A field collection is internally represented as an entity, which is embedded in the host entity. Thus, if desired field collections may be viewed and edited separately too.

34 questions
0
votes
0 answers

Field Collection no respond

my Drupal field collection having a no respond issue after I created 3 fields using field collection and try to add more. Edit a page or create new page also have the same issue. Can't add more than 3 fields. Double checked the setting in content…
Kooki3
  • 599
  • 4
  • 12
0
votes
2 answers

drupal 7 field collection, how to access elements from template?

I have a view block that takes pulls a field collection. The field collection can contain unlimited number of items, where each item has two fields (url and logo). When I kpr(get_defined_vars) within block--views--my-view-block-block.tpl.php I get…
Evaldas Raisutis
  • 1,628
  • 4
  • 18
  • 32
0
votes
1 answer

Drupal 7 Computed field in field collection

I have a field collection with 2 dates (Timestamp) and would like to calculate the difference between the dates. But I can't get it to work.. Any help? Computed code: $eind =…
0
votes
2 answers

Modifying a field collection programmatically missing hostEntity fields

I am trying to modify a field collection in a node that already exists so I can change an image on the first element in an array of 3. The problem is, the hostEntity info is not set when I do a entity_load or entity_load_single so when I do a:…
JakeTheBraek
  • 261
  • 1
  • 5
  • 12
1 2
3