Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.0-beta2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
3 Dec 2009 at 22:34 UTC
Updated:
16 May 2024 at 00:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
endiku commentedAny news on this? Having a similar if not the same issue. If only one item is in the view then the pager breaks down. In fact it also can break the display slightly. While multiple items makes it opperate just fine.
Comment #2
ceerwk commentedI am also seeing this issue on nodes with just one image. Any follow on how to resolve this issue would be most appreciated.
Comment #3
coreyp_1 commentedThe quick and dirty way around this would be to just override the theme function so that it is pre-populated with "1 of 1". If there are more pictures, then the javascript will override it to read "1 of 10" (for example).
The function to override is
theme_views_slideshow_singleframe_image_count()found inviews_slideshow/contrib/views_slideshow_singleframe/views_slideshow_singleframe.theme.inc.Here's an example of how I did mine:
Comment #4
redndahead commentedMarking as critical to look at before release.
Comment #5
redndahead commentedThis patch was committed. Thank you for the easy fix. Wish I had taken a look at this sooner.