Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to use Field Collections for the Views Slideshow module? I've been trying to use them together, but have not been successful yet. It's a great use-case for Field Collection, as you can create something like a 'Media Item' that has an image along with accompanying text, a link for the image, and other info. Sure hope someone can explain how to this!
Comments
Comment #1
hefterbrumi CreditAttribution: hefterbrumi commentedHi, did you find any solutions for this? I just cant solve it. I have a field collection with 5 single imagefields (not multivalue) in it. And I would like the slideshow to rotate these five images.
Any solutions?
Comment #2
Mark_L6n CreditAttribution: Mark_L6n commentedNo, I didn't find a solution for this unfortunately. I have since had a nice recommendation for the Dynamic display block module, although I haven't used it myself. Based on your description, the Field Slideshow module might be useful, and it reportedly works with the field collection module.
Comment #3
Cezar CreditAttribution: Cezar commentedThere is a mention in this comment "Views Slideshow with Field Collections" about a possible solution for this. I have not tested it yet.
Comment #3.0
Cezar CreditAttribution: Cezar commentedadded image link to example
Comment #4
ja09 CreditAttribution: ja09 commentedThis is possible with the current version of Field Collection (7.x-1.0-beta7), so I'm closing this ticket. All you need to do is add a "Relationship" to your field collection. The Relationship will be the name of your Field Collection. Mine looks like this:
Content: Slide (field_slide)
Appears in: node:slideshow.
When adding the relationship, check "Require this relationship" if you'll only be using fields from your Field Collection. If you'd like to include other fields as well, don't check this; you'll have the ability to assign the relationship when adding/configuring the field.
You'll now be able to add the views fields you created for your particular Field Collection at /admin/structure/field-collections
It works like a charm. Hope this helps someone else. Cheers!