Description
This module provides a formatter leveraging views for the Field Collection module.
It provides a replace solution for issue: http://drupal.org/node/1300674 (Order the delta of field-collection items when using the hidden widget)
It provide a default view, which include "Edit"/"Delete"/"Add" links in it.which provide a solution for feature, Edit and delete links in Views (http://drupal.org/node/1353246 ).
Usage
-
After install this module,then you could goto host entity's fields display settings page,such as admin/structure/profiles/manage/resume/display.
-
at display settings page, you could choose format for you collection field,This module provide a new option"Views field-collection items"
-
then at format summary area, you will see "Embed View: field_collection_view, default", Yes ,this module using views_embed_view function,That mean you need config the name and display id of the view you want to use.
-
Now if you visit a page of host entity, you could only see three fields," Field collection Item id", "Edit", "Delete",At the bottom there is a "Add" link.This is not a bug, that because i do not know which fields that added to collection field.
-
Clone views "field_collection_view", at the clone view, you need add more fields to it, change the sort criteria,Please do not change the existing fields (except "Exclude from display " for "Field-collection item: Field-collection item ID"),the Contextual filters of " Field-collection item: Field-collection item ID"
-
After that you need config the name /display id of the views you want to use at display settings page, such as admin/structure/profiles/manage/resume/display,you click the button at the right place, then there will be a form inlude 2 elements,"name" and "display id".
Authour:
The author can be contacted for paid customizations of this module as well as Drupal consulting and development.
Sponsors:
- This module was sponsored by Think in Drupal
Project information
- Module categories: Content Editing Experience, Content Display, Site Structure
- 8,709 sites report using this module
- Created by g089h515r806 on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Development version: 7.x-1.x-dev updated 21 Mar 2016 at 17:14 UTC