Closed (fixed)
Project:
Field collection
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2012 at 13:14 UTC
Updated:
27 Sep 2015 at 04:04 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #1
chi commentedHere's a patch to extract field collection context based on an existing entity context.
Comment #2
mikeker commentedThanks for the patch! I've verified this patch allows me to set the visibility of a pane based on a field inside a field collection.
I would RTBC the patch, but I have only tested it in that limited use-case.
Comment #3
manuelBS commentedPatch works great form me, thanks for sharing!
Comment #4
mikeker commented@manualBS, can you give us some details on the specifics of your case? What was broken and what did the patch fix? The more we know, the sooner we can get this to RTBC and committed to the module.
Thanks.
Comment #5
manuelBS commentedOf course, I can. I wanted to add the fields of field collection to a panel overriding node/%node. To get all the fields I need to create a ctools relationship between the node beeing viewed and the field collection. Thats it.
Comment #6
ericduran commentedTested this and it works great.
Makes it super simple to add those extra context.
Thanks.
Comment #7
timwoodThis is working well for me also.
Comment #8
fagoThanks. I re-named the plugin directory to ctools and committed it.
Comment #10
osopolarMay somebody who worked on this issue help with the "reverse" relationship plug-in to get the host entity for a given field collection item: #2567585: Ctools relationship plugin to add host entity context to field_collection panels?