Is there a way to combine/merge multiple slideshows?
| Project: | Views Slideshow |
| Version: | 6.x-2.0-beta2 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | fixed |
Jump to:
Hi everyone,
My current project is creating a website for an architecture and design company. Surely, the most important part is the presentation of their projects. And I created a content type that covers every single piece of data they want to show about their projects. And I created multiple views working smoothly, no problems with that.
I face the challenge when trying to create a slideshow which will be shown in the home page. That slideshow should contain the first three images of the last three projects. 9 images in total. The project content type has a "project date" field. Projects would be sorted according to this value.
I create a new view and choosed slideshow as the style. Filtered the content type to project and publised contents. And add the image field of the project content type to the fields of my view.I also defined a sort criterion: date field of project content type to descending.
At this point all images of all projects were shown in the slideshow.
Then I select Group Multiple values of the image field and select Show 3 items starting from 0. This time it creates three slideshow on top of each other, which are showing the first three images of the projects at same(first slideshow shows the first image, second slideshow shows the second one, and the third slideshow is showing the third one...)
After that I changed the Group multiple values to show 1 item starting from 0. And Items to Display to 3. And it creates one slideshow which contains only the first pictures of the last three projects.
Finally I go back to Show 3 items starting from 0 in the group multiple values and Items to display to 1. This time it creates one slideshow containing the first three pictures of only the first project.
I totally understand the outcomes of my attempts and have no problems or questions about them. My question: Is there a way to combine multiple slideshows (or merge them to one slideshow)?? I searched the forum and the web but could not find something worked for me.
Any help/suggestion would be much appreciated.
I know it is a loooong and detailed message so thank you for your time.

#1
Are you trying to?
Slide 1
[project 1: image1] [project 1: image2] [project 1: image3]
Slide 2
[project 2: image1] [project 2: image2] [project 2: image3]
Slide 3
[project 3: image1] [project 3: image2] [project 3: image3]
or
Slide 1
[project 1: image1] [project 1: image2] [project 1: image3][project 2: image1] [project 2: image2] [project 2: image3][project 3: image1] [project 3: image2] [project 3: image3]
Slide 2
[project 4: image1] [project 4: image2] [project 4: image3][project 5: image1] [project 5: image2] [project 5: image3][project 6: image1] [project 6: image2] [project 6: image3]
slide 3....etc
If example 1, try setting group multiple values to 3 starting from 0 and items to display to 3. The images are set in
<div class="field-item field-item-0">image<div>so you will need to use css to float:left or set display:inline to get the images horizontal instead of vertical.Not sure on the second!
#2
Second example
use patch in http://drupal.org/node/484960 against latest dev.
set Group fields to 3 starting with 0. Set slideshow settings to to 3 frames per slide.
#3
ndwilliams3, thanks for your response.. I was almost hopeless on this thread..
I am trying to have a single slideshow like this:
[project 1: image1] [project 1: image2] [project 1: image3][project 2: image1] [project 2: image2] [project 2: image3][project 3: image1] [project 3: image2] [project 3: image3]
and nothing more..
I tried the patch and did set Group fields to 3 starting with 0. Set slideshow settings to to 3 frames per slide. but it creates a result like this:
Slide 1
[project 1: image1] [project 2: image1] [project 3: image1]
Slide 2
[project 1: image2] [project 2: image2] [project 3: image2]
Slide 3
[project 1: image3] [project 2: image3] [project 3: image3]
Is there a way to append those slideshows next to each other?
Thanks in advance.
#4
And after I applied the theme patch which I mistakenly skipped last time, it creates creates a list of images rather than a slideshow. The result has all the images I want but not as a slideshow.
#5
If your views style is set to slideshow, it should be working. When your view display did you make sure you clicked on override values instead of update default value?
Are you trying to display all nine images at one time? It sounds like there will be only one slide.
#6
Exactly. One slide for nine images.
#7
If all you have is one slide, I would not even use slideshow. Set display to Block. Set style to unformatted. Group multiple values, 3 start with 0. Items set to 3. In css set #your-block-Id .views-row {float: left, margin:0, padding:0} #your-block-Id .field-item {float: left, margin: 0, padding:0}
all images should be in a row. If you are wanting a fade effect, look at jquery fadein plugin.
#8
I am not sure that I expressed myself correctly, I guess I misunderstand when you say:
Are you trying to display all nine images at one time? It sounds like there will be only one slide.
Actually I am trying to display nine images one at a time.
I want to have a slideshow which would cycle nine images one after the other.
It seems we are going off target a little so let me clarify my problem once again:
My goal is to create one slideshow for the main page which will cycle three photos of the most recent three projects.(three photos per project = 9 photos in total)Bur since the maximum number of images that can be uploaded for a project is unlimited, I want to use just the first three images(not all of the images).
Thats why I think I should use Group multiple values for selecting the first three images, which, I believe, is one point that we agree.
But when I did so(before the patch) it was creating three different slideshows in the following format:
Slide 1
[project 1: image1] [project 2: image1] [project 3: image1]
Slide 2
[project 1: image2] [project 2: image2] [project 3: image2]
Slide 3
[project 1: image3] [project 2: image3] [project 3: image3]
What I want to have is in this format:
Slideshow
[project 1: image1] [project 1: image2] [project 1: image3][project 2: image1] [project 2: image2] [project 2: image3][project 3: image1] [project 3: image2] [project 3: image3]
As I said the main problem for me is that it is creating more than one slideshow when I set Group multiple values(I am setting it to 3 start with 0 so it creates 3 slideshows.)
Once again, many thanks for your help, time and concern.
#9
I am following you now. Grouping fields won't work, because it creates a views row with 3 items and you need 9 rows with one item each. I see the problem now. How to get only three images from 3 separate nodes. I think you might get it to work by setting the field to ungroup, items to 9 and adding a filter for the field delta value and set it to <=3. I will test it later tonight and see if it works.
#10
I Just tested this method and it works!
Style: Slideshow
Row style: Fields
Fields
Content: My Imagefield formatter (no grouping fields)
Content: My Imagefield - delta My Imagefield (field_my_imagefield) - delta (exclude from display)
Node: Nid Nid (exclude from display)
Sort criteria
Node: Nid asc
Filters
Content: My Imagefield - delta <= 2
#11
Yes it works!!
Thanks you so much for your help I would not think of using delta by myself=))
#12
Your welcome. I know the frustration of hitting roadblocks, you spend days trying to find a solution! It is even more frustrating when you post a message in the forum and it sits for days without a reply. But overall the Drupal community is pretty responsive to helping overcome roadblocks. I have been very impressed with the community involvement since I switch from Joomla a year ago.
#13
Marking as fixed