Hi! I've made a small patch for adding a "random" feature to the slideshow CS block. It is very simple. Would you like to include it on the module?

Thanks for your attention.

Regards.

CommentFileSizeAuthor
#3 slideshowcs-6.x-1.10.tar_.gz.jpg29.38 KBAnonymous (not verified)
slideshow_random.patch370 bytesfinex

Comments

davebv’s picture

Thanks for contributing the patch, I just applied the patch. Should be in the dev version, I will test it a little bit longer and then I will release as a new version.

davebv’s picture

Status: Needs review » Fixed

Added as a new release in 1.10. Thanks for the contribution.

Anonymous’s picture

StatusFileSize
new29.38 KB

hi, it seems slideshowcs-6.x-1.10.tar.gz randomize the images into the folder, but grouping first all the top-to-bottom images and then all the bottom-to-top ones.

davebv’s picture

Version: 6.x-1.7 » 6.x-1.10

I do not see anything strange in the screenshot you provided, could you provide a more detailed description of what is the problem?

Anonymous’s picture

the screenshot is just about the setting to move alternatively images up and down. With this setting the random process show first all the images set to move top-to-bottom, and than all the images that move bottom-to-top

davebv’s picture

I tried again and in my setup the images shuffle properly. Could you provide the js chunk in the head, which says "jQuery.extend(Drupal.settings,......"

Reload the page and post it several realizations.

Anonymous’s picture

sorry, what do you mean for

Could you provide the js chunk in the head, which says "jQuery.extend(Drupal.settings,......"
Reload the page and post it several realizations.
davebv’s picture

Once you have enabled the block in your page, inspect the source of the html page you are viewing in your browser.

In the <head> section you should find a script line with the Drupal.settings variable. Please, copy that in a text file and attach it.

Repeat the above several times, to see the order your pictures are loaded in that variable.

Hope this is more clear. Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.