Closed (outdated)
Project:
Field Slideshow
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 14:50 UTC
Updated:
21 Jul 2025 at 08:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jdanthinne commentedInteresting idea. Will have a look at how I can manage that.
Comment #2
jdanthinne commentedOk, I've taken all the work I've done for the support of Media Fields and adapted it to Field Collection, and it seems to be working fine…
Please download the next DEV version or use this patch : http://drupalcode.org/project/field_slideshow.git/patch/82e4fb0.
Tell me if it's working on your side.
Comment #3
perisdr commentedI am using the 7.x-1.x-dev version and it does not seem to work very well with field_collection.
I have a simple field_collection with two fields: An image and a text caption. Both fields support unlimited values. When I set the display of my field_collection to Slideshow I easily select my image field from the dropdown menu but it does not seem to work. I get no slideshow in my node. Just the first image.
Is there any way I can provide you with more information to fix it? This module is exactly what I need and I would love to make this work!
Comment #4
jdanthinne commented@perisdr : do you have a test server where I can see the field collection definition?
Is the text caption a normal text field?
What is the version of field_collection?
Comment #5
perisdr commentedUsing Field collection 7.x-1.x-dev
You were right about the caption. I used a "Long text" field. Just added a simple "Text" field and the it showed up in the dropdown list. But I still don't get any animation. The slideshow only shows my first picture, at least the caption now does show up correctly.
Comment #6
perisdr commentedStill can't figure how to make this work. Anyone had any success with Slideshow and Field Collection? I upgraded Field Collection to 7.x-1.0-beta3 in case it would take care of the warnings:
- Warning: Invalid argument supplied for foreach() in file_field_widget_submit() (line 754 of C:\xampp\htdocs\sitename\modules\file\file.field.inc).
- Warning: array_values() expects parameter 1 to be array, null given in file_field_widget_submit() (line 761 of C:\xampp\htdocs\sitename\modules\file\file.field.inc).
The warnings still persist in the 7.x-1.0-beta3. Could these errors be the cause why slideshow wont work? Other than that my configuration is extremely simple. One field collection containing one image and one caption field.
Comment #7
perisdr commentedOk, I got it working. Feel kinda dump but I will share it so in case anyone else who has the same way of thinking can solve it.
My previous configuration:
One field_collection named Images&Captions. Number of values: 1
The Images&Captions contains:
Now the correct way to make it work is:
One field_collection named Images&Captions. Number of values: Unlimited
The Images&Captions contains:
which is the correct object oriented way of thinking...For some weird reason I liked more the first approach of uploading all your images and then inputing all your captions.
Comment #8
jdanthinne commentedComment #10
pacome commentedHello
In my case it works well with a text-field as a caption, but it doesn't work with a text-area (useful for a html caption, or a long description)...
Does anyone experience the same problem ?
Regards
-p-
Comment #11
ficklecatI can confirm it does not work with text area (Long Text) selected as the field type for a Caption type field. Attached is a patch to include 'Long Text' and 'Long Text with Summary' support
Comment #12
pacome commentedThe patch worked great for me !
Thank you very much
regards
-p-
Comment #13
kbasarab commentedI stumbled upon this thread looking for this same type support but for my use case I was using an image field with the Media File Selector widget.
I'd added a caption field to the File type via:
admin/structure/file-types/manage/image/fields
Even with the above patch for field collections this wasn't showing as an option. I patched by supported the field type of image as well adding onto the patch found here.
Attached is my version. If this should be in its own issue then I can move it but figured since it was an addon to the patch in #11 it would work here.
Comment #14
kbasarab commentedChanging back to needs review.
Comment #15
megan_m commentedJust confirming that the patch in #11 worked for me.
However, when I read that this module includes support for field collection, I assumed it would bring in the whole field collection (as you can do with any fields in Views Slideshow), not just a photo and caption(text) field.
Comment #16
Anonymous (not verified) commentedI have tested the patches attached to #11 and #13 and they both work fine in a D7.15 installation with field_collection 7.x-1.0-beta4 and field_slideshow 1.7.
Comment #17
Anonymous (not verified) commentedHi Drupalchick,
if you mean support for rendering the entity in different view modes, there is a issues for that as well. It needs some testing! #1634412: Rendering entire entity
Comment #18
idflood commentedHere is a rerolled version of the patch in 13 with a little addition in field_slideshow_field_formatter_settings_summary. I hope I didn't made any mistake when doing the reroll, but I first tried with 'normal' image field. The image field had the "alt" enabled, the caption worked without the patch. With the patch the caption settings show "Nothing" instead of the "Title text" and "Alt text" options.
Comment #19
abx commented#11 works for me to use Long Text as a caption
Thanks
Comment #20
shadcn commented#11 works for me as well. (with 7.x-1.8)
@idflood, I tested patch in #18. It's breaking formatter settings.
Comment #21
idflood commentedComment #22
csedax90 commentedwith the latest version, the patches above doesn't works
Comment #23
grasmash commentedRolled simpler version against 7.x-1.82.
Comment #24
ficklecatPlease note the patch in #23 is identical to #11 which has been reviewed several times already.
Comment #25
sgurlt commented#11 workes for me perfectly, thanks for the patch. Could it be comitted to the newest dev release?
Comment #26
sgurlt commentedRetested #13 as well and it works fine !
Comment #27
pacome commentedTested patch #23, it seems to work perfectly.
Thanks !
Comment #28
ec-mdecker commented#23 works, unless a user would like to have a link within the long text field as well. If a user includes a link within the long field, the slide link will not continue through the rest of the text. It will be ended at the beginning of the first link.
Comment #29
joelstein commentedPatch in #23 works great!
Comment #30
hailu commentedThis is awesome, thanks guys!!
Comment #31
m1n0 commentedWorks great, please commit to next release.
Comment #33
ficklecatIt looks like work has stopped on the 7.x-1.x branch #2448319: [META] New release 7.x-2.0
Re-rolling patch against 7.x-2.x branch
Comment #35
chegor commentedConfirming #23 works with 7.x-1.82
Comment #36
lamp5