15

I have created fields and grouped together with Field collection module. I have attached the group field (containing 4 fields), to user account settings in : admin/config/people/accounts/fields.

Now I am trying to display the content of this field-collection into a view, however I can not do it!

Views 7.x-3.0-beta3 do not allow me to specify the current user and to get in a table the field-collection contents. How can I get this contents into a view-kind table?

UPDATE: I have seen that Field collection module has a patch for Views module here: Add Views Relationship to Field Collection - patch attached which is already included in Field collection 7.x-1.x-dev. This allows me to have access at field in collection form Views, however is not allowing me to set a custom filter for the entity of which I associate the field collection. I my case is the user ID.

How can I have access to that form views ?

1 Answer 1

10
+50

What kind of view are you creating?

Since the collection is being used in the user entity you should create a user view. This will allow you to set the user id filter you want to set.

Once you create that user view you will need to add the field_collection relationship to display those appropriate field.

This is assuming you are using the latest field_collection - dev version. Hope this helps.

2
  • Thanks man, your suggestion relay help me in this issue!
    – radu c
    Jun 16, 2011 at 19:43
  • You will get the bonus in 13 hours :) !
    – radu c
    Jun 16, 2011 at 19:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.