Closed (fixed)
Project:
Slideshow Creator
Version:
6.x-1.29
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
26 Jul 2008 at 04:34 UTC
Updated:
18 Nov 2008 at 09:41 UTC
Jump to comment: Most recent
I have the following:
[slideshow: 2, rotate=1, blend=1, layout=default, height=808, width=595, fx=scrollRight, dir=|sites/default/files/slideshow/picts/|yes| ]
I CANNOT get it to auto-rotate. Any ideas?
Comments
Comment #1
neofactor commentedAny one? Really would like to get this resolved so I can have the rotation working.
Thanks.
Comment #2
Tyrael commentedtry to update the files from the cvs repository.
it works for me since then.
Tyrael
Comment #3
neofactor commentedI tried with CVS version and no change. Still no auto-rotate.
What is does you code look like?
Comment #4
neofactor commentedAnyone else? Can you post me your code and I will try it.
Comment #5
elvis2 commentedI can confirm that auto rotate is not working on my end either. The .js files seem to be available in the head tags, the images are in the html as well. Just no rotation. I have tried jquery_plugin 6.x-1.4 and jquery_plugin 6.x-1.3 with no luck. I did make sure no caching was taking place within performance settings and cleared the cache just in case.
Comment #6
AltaVida commentedSame here.
Tried debugging with uncompressed version of jquery.cycle. Although JS certainly is not my strong point I'd note that the advance() function from jquery.cycle doesn't get called automatically.
Clicking the next/previous links does fire it correctly, and the slide does then change.
I'll post more if I can figure something out... but like I said I'm no Javascript/JQuery guru.
Comment #7
brmassa commentedGuys,
i will check it out and try to fix it as soon i get some free time.
regards,
massa
Comment #8
rimma commentedyes, it does not for drupal 6. But if you delete rotate , it works. Just I donot know how much time it rotates.
Comment #9
neofactor commentedLooking at my config settings... I noticed colon vs equal signs...
so I changed the above to this and it WORKED!
I am not sure it they ALL need to be a : instead of an = sign.
The above gives me rotation and at my defined time.
I will play with the rest of the line to see if the : is the correct deliminator.
Comment #10
elvis2 commentedConfirmation, what neofactor mentioned, #9, does make my slideshow work...
@neofactor, the only parts affected are blend and rotate, meaning they need the ":" instead of "=". See below.
The problem is not the js but function _slideshow_creator_tagconversion(). In slideshow_creator.inc,v 1.1.2.28 this code needs to be changed (me thinks at least):
I am sure other code in this function needs to be changed a bit too. I am confused why though "blend" and "rotate" are being split with ":", I didn't find any code specifically splitting some parts of the tags with ":", except for the "[slideshow:" part of the tag.
Thoughts...
Comment #11
brmassa commentedGuys,
sorry about that. i will fix it soon. Its probably a error i inserted when i start to support both SsC tag and direct JS input (which uses ":").
regards,
massa
Comment #12
neofactor commentedCool.... thanks for adding it to your to-do list. You rock!
Comment #13
duntuk commented@ neofactor :
thanks works perfectly now with colon ( : ) instead of equal ( = )...
** documentation (README.txt) should be updated **
Comment #14
duntuk commentedwhoops... sorta works... specifying, e.g. rotate:6 doesn't actually take 6 seconds.... it seems the value here is ignored and a default value of around 3 seconds is used...
Comment #15
brmassa commentedAl B.,
just note that the colon sign is a bug that i will fix. it was suppose to be only the equal sign.
regards,
massa
Comment #16
jsm174 commentedYou could also use the real jQuery Cycle parameters. Timeout and speed are in millis so multiply by 1000.
Comment #17
brmassa commentedGuys,
blend was created before im starting to use plugin. blend was supposed to create a fadein/fadeout. Now that i use the plugin, you should, as much as possible, start to use "timeout" and "speed", because it will be converted.
the code is now fixed too.
regards,
massa
Comment #18
brmassa commentedGuys,
blend was created before im starting to use plugin. blend was supposed to create a fadein/fadeout. Now that i use the plugin, you should, as much as possible, start to use "timeout" and "speed", because it will be converted.
the code is now fixed too.
regards,
massa
Comment #19
gaurav_m commentedthanks man ...you rocked a big problem solved ;)