Allow the default Views Slideshow slide counter controls to work with Flexslider instances.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 1382248-009-WORKAROUND-Enable_Views_Slideshow-Flexslider_Widget_slide_counter.patch | 1.91 KB | sokrplare |
Allow the default Views Slideshow slide counter controls to work with Flexslider instances.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 1382248-009-WORKAROUND-Enable_Views_Slideshow-Flexslider_Widget_slide_counter.patch | 1.91 KB | sokrplare |
Comments
Comment #1
Anonymous (not verified) commentedJust a note for others that this can be achieved with css by selecting "Add navigation controls for individual slides." in views and then using css to remove the background and reset the text-indent property of .flex-control-nav li a
The slide #'s are there, just being hidden by the default styling.
Comment #2
minoroffense commentedFor the moment, the only Views Slideshow widgets we're supporting are the controls for pause/play/next/prev.
We'll be adding the rest of the controls after v1.0 (probably in 1.1 or 1.2)
I'll keep this issue around and update once the functionality is there.
Comment #3
dready2011 commentedSubscribing. Would be great to have this feature!
Comment #4
R-H commented+1
Comment #5
minoroffense commentedThe second version of the FlexSlider library should allow us to do this. Though it's not high up on the list of priorities at the moment. Patches are always welcome ;-)
Comment #6
luksakWhat needs to be done? If I find time i would try to do a first stab.
For the cycle integration I found this line being called in the
beforecallbackDrupal.viewsSlideshow.action({ "action": 'transitionBegin', "slideshowID": settings.slideshowId, "slideNum": slideNum });And this code in views_slideshow.js
Seems that doing this would solve the issue. Am I right?
Comment #7
minoroffense commentedThe JavaScript that links views slideshow controls and flexslider's needs rewriting. I'm working on the play/pause controls now. Once those are available you'll have a good example to work against. I'll post here once they're available.
Comment #8
minoroffense commentedComment #9
sokrplare commentedBuilding off what Lukas tracked down in the Cycle plugin, here is a workaround (until the rewrite happens for full and proper support) to get the slide counter incrementing working again. I also removed a (rogue?) console.log call.
Comment #10
jetsonjohn commentedAfter applying this patch slide counter is updating only on clinking previous or next link otherwise on auto rotating the slide the counter value is not updating.
Is there any workaround for updating the slide counter on auto rotating or on slide transition begin or after?