Check my latest video on using Field collection in Drupal 7. For an in-depth article go to Power Site Building With Field Collection.
About The Author
Ivan is the founder of WebWash and spends most of his time consulting and writing about Drupal. He's been working with Drupal for 12 years and has successfully completed several large Drupal projects in Australia.
Create a Search Page using Views in Drupal
Leave a Comment / Drupal / By Ivan Zugec / April 5, 2023
Customize View Fields using Twig in Drupal
Leave a Comment / Drupal / By Ivan Zugec / February 7, 2023
How to Host Drupal Sites using SiteGround
Leave a Comment / Drupal / By Ivan Zugec / January 8, 2023
Add Theme Suggestion to Menus using Menu Block in Drupal
Leave a Comment / Drupal / By Ivan Zugec / November 17, 2022
6 thoughts on “Video – Using Field Collection In Drupal 7”
hi, i wonder about joining. with your example we have authors and authors’ last names are belove first names. but i want to join firs name and last name side by side. how can do it? using form or field group?
You can join fields in a few ways. First, look at the Custom Formatters module (http://drupal.org/project/custom_formatters). Use this module to join two fields and display as one.
Another way is to use the Display Suite module (http://drupal.org/project/ds). Implement a “code field” and display the two fields together.
Thank you for this tutorial. I wanted to ask you if you ever used entity reference and if there is a significant difference between field collection and entity reference?
Field collection and entity reference are very different modules. And yes I do use entity reference a lot.
You would use field collection to group a bunch of fields together (simplest explanation). 🙂
For example, let’s say you want to create an author field on an article content type where you’ll store a first and last name of the author.
You can use the field collection module to group first and last name field as a collection.
The Entity Reference module allows you to create a field that references other entities like node, user or taxonomy term.
Hope this helps.
How can i add Comment section for each Field-collection sections ?
I have Step1, Step2,… etc.
Now user want to add comment for any steps.
Thanks in Advance.
If I understand you correctly, you want to display comments on specific “field collection” fields?
The core comment module only works with nodes. Look at the Reply module (https://drupal.org/project/reply). I have never used the module, but it looks good.
Comments are closed.