Field Collections not displaying in Content Template


Not necessarily an answer, but a viable workaround:

The Field Collection content is available to views, so I made a view block that prints out the Field Collection content where the contextual relationship is the node's NID. That block gets displayed on this content type only. With some Javascript trickery, I'll be able to position it where it needs to go.

I'm open to a real answer, but for now, this is all I've got.

Tags: Theming / Nodes / Entities

Similar questions

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 do this for a block for each page, but I have over 200 pages, and doing this for all of them would be time consuming. I have created a field collection...
Improving performance with Field Collections?
I'm using using entity reference, field collection , and field collection table modules on a site that features "courses" and "lessons" as content types. A field collection with unlimited values is embedded in the course content type, and it contains two fields: a text field for "section" and an entity reference field for "lesson". This allows the ...
Slow migration process when migrating nested field collections
I'm migrating a site with something like 2000 nodes each having some field collections with other field collections nested in them. Basically, example node looks like this: So, each node can have one or more level 1 field collections and each level 1 collection can have one or more level 2 collections. My migration procedure was to first migrate no...
How to create a user with field collections programmatically?
This is what I use to create the user: Now I want to add values to the field collection items. I have a field collection called field_personal_details and a field collection item called field_firstname, but I have no idea how to access it. Can someone help me get started?
Can hook_field_extra_fields be used with field collections?
I have a field collection view that I have to manipulate some data on before it gets displayed, so I was going to use hook_field_extra_fields with the extrafield_views_integration module. This worked great for me on nodes, but I'm not seeing the extra field get displayed on field collections. Is there any way to get around this?
Reading nested field collections
I have a field collection called field_sections that has inside it it 2 fields: field_section_title (just plain text field) field_menu_item(field collection with 4 fields) field_menu_item has 4 fields I would like to build an array sections, and those sections are objects that contain menu_items, which are objects that contain menu_items. I have tr...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.