Slideshow CS not working without Clean URLs

Dret - December 20, 2008 - 19:23
Project:Slide Show CS
Version:6.x-1.12
Component:Code
Category:support request
Priority:normal
Assigned:davebv
Status:closed
Description

...as the title says... is the only thing i see on screen when I activated the Block (image are in the right directory).

#1

brundage - December 20, 2008 - 22:01

I am having the same problem. For me the slideshow works on the admin pages but not on the user pages. I tried changing the path but that didn't help. On the user pages I am just getting "Loading..."

#2

davebv - December 21, 2008 - 09:17
Priority:critical» normal
Status:active» postponed (maintainer needs more info)

What I do not know is why you are able to see them in admin pages and not in user pages. What do you mean with user pages? example.com/user ?

Could you provide the js chunk in the head, which says "jQuery.extend(Drupal.settings,......"

Thanks

#3

brundage - December 21, 2008 - 21:55

I tried disabling Shadowbox last night and that solved the problem for me. As for what I meant by user pages...I am just referring to non-admin (admin/*) pages. It looks like (for me at least) the problem is with Shadowbox, not Slide Show CS.

By the way, Slide Show CS is a great module and I want to thank the developer for bringing it to Drupal!

For reference, here are my working and non-working settings:

This is the non-working jQuery setting (with Shadowbox enabled) results in infinite "Loading....":
jQuery.extend(Drupal.settings, { "basePath": "/", "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" }, "lightbox2": { "rtl": "0", "file_path": "/(\\w\\w/)sites/default/files", "default_image": "/modules/lightbox2/images/brokenimage.jpg", "border_size": 10, "font_color": "000", "box_color": "fff", "top_position": "", "overlay_opacity": 0.8, "overlay_color": "000", "disable_close_click": true, "resize_sequence": 0, "resize_speed": 400, "fade_in_speed": 400, "slide_down_speed": 600, "use_alt_layout": false, "disable_resize": false, "disable_zoom": false, "force_show_nav": false, "loop_items": false, "node_link_text": "View Image Details", "node_link_target": false, "image_count": "Image !current of !total", "page_count": "Page !current of !total", "lite_press_x_close": "press \x3ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\x3e\x3ckbd\x3ex\x3c/kbd\x3e\x3c/a\x3e to close", "keys_close": "c x 27", "keys_previous": "p 37", "keys_next": "n 39", "keys_zoom": "z", "keys_play_pause": "32", "display_image_size": "", "image_node_sizes": "()", "trigger_lightbox_classes": "", "trigger_lightbox_group_classes": "", "trigger_slideshow_classes": "", "trigger_lightframe_classes": "", "trigger_lightframe_group_classes": "", "custom_class_handler": 0, "custom_trigger_classes": "", "disable_for_gallery_lists": true, "disable_for_acidfree_gallery_lists": true, "enable_acidfree_videos": true, "slideshow_interval": 5000, "slideshow_automatic_exit": true, "show_play_pause": true, "pause_on_next_click": false, "pause_on_previous_click": true, "loop_slides": false, "iframe_width": 600, "iframe_height": 400, "iframe_border": 1, "enable_video": false, "flvPlayer": "/flvplayer.swf" }, "shadowbox": { "flv_player": "/modules/shadowbox/shadowbox/flvplayer.swf", "animation": 1, "animation_fade": 1, "animation_sequence": "wh", "modal": false, "overlay_color": "000", "overlay_opacity": "0.85", "flash_background": "000000", "autoplay_movies": 1, "show_movie_controls": 1, "slideshow_delay": "0", "resize_duration": "0.35", "fade_duration": "0.35", "display_nav": 1, "continuous_galleries": 0, "display_counter": 1, "counter_type": "default", "counter_limit": "10", "viewport_padding": 20, "handle_oversize": "resize", "handle_unsupported": "link", "initial_height": 320, "initial_width": "320", "enable_keys": 1, "extensions_img": [ "png", "jpg", "jpeg", "gif", "bmp" ], "extensions_swf": [ "swf" ], "extensions_flv": [ "flv", "mp4", "mov" ], "extensions_qt": [ "dv", "mov", "moov", "movie", "mp4" ], "extensions_wmp": [ "asf", "wm", "wmv" ], "extensions_qtwmp": [ "avi", "mpg", "mpeg" ], "extensions_iframe": [ "asp", "aspx", "cgi", "cfm", "htm", "html", "pdf", "pl", "php", "php3", "php4", "php5", "phtml", "rb", "rhtml", "shtml", "txt", "vbs" ], "auto_enable_all_images": 0 }, "user_relationships_ui": { "loadingimage": "/modules/user_relationships/user_relationships_ui/images/loadingAnimation.gif" }, "slideshowcs": { "imagesCS": [ { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0112.jpg", "from": "0% 10% 1x", "to": "5% 100% 1.5x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0257.jpg", "from": "0% 10% 1.7x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0353.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.2x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0683.jpg", "from": "0% 10% 1.5x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_1686.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.4x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_1913.jpg", "from": "0% 10% 2x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_2082.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.5x", "time": "6" } ], "fade": "1" } });
//-->

This is the working jQuery setting (with Shadowbox disabled):
jQuery.extend(Drupal.settings, { "basePath": "/", "googleanalytics": { "trackOutgoing": 1, "trackMailto": 1, "trackDownload": 1, "trackDownloadExtensions": "7z|aac|avi|csv|doc|exe|flv|gif|gz|jpe?g|js|mp(3|4|e?g)|mov|pdf|phps|png|ppt|rar|sit|tar|torrent|txt|wma|wmv|xls|xml|zip" }, "lightbox2": { "rtl": "0", "file_path": "/(\\w\\w/)sites/default/files", "default_image": "/modules/lightbox2/images/brokenimage.jpg", "border_size": 10, "font_color": "000", "box_color": "fff", "top_position": "", "overlay_opacity": 0.8, "overlay_color": "000", "disable_close_click": true, "resize_sequence": 0, "resize_speed": 400, "fade_in_speed": 400, "slide_down_speed": 600, "use_alt_layout": false, "disable_resize": false, "disable_zoom": false, "force_show_nav": false, "loop_items": false, "node_link_text": "View Image Details", "node_link_target": false, "image_count": "Image !current of !total", "page_count": "Page !current of !total", "lite_press_x_close": "press \x3ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\x3e\x3ckbd\x3ex\x3c/kbd\x3e\x3c/a\x3e to close", "keys_close": "c x 27", "keys_previous": "p 37", "keys_next": "n 39", "keys_zoom": "z", "keys_play_pause": "32", "display_image_size": "", "image_node_sizes": "()", "trigger_lightbox_classes": "", "trigger_lightbox_group_classes": "", "trigger_slideshow_classes": "", "trigger_lightframe_classes": "", "trigger_lightframe_group_classes": "", "custom_class_handler": 0, "custom_trigger_classes": "", "disable_for_gallery_lists": true, "disable_for_acidfree_gallery_lists": true, "enable_acidfree_videos": true, "slideshow_interval": 5000, "slideshow_automatic_exit": true, "show_play_pause": true, "pause_on_next_click": false, "pause_on_previous_click": true, "loop_slides": false, "iframe_width": 600, "iframe_height": 400, "iframe_border": 1, "enable_video": false, "flvPlayer": "/flvplayer.swf" }, "user_relationships_ui": { "loadingimage": "/modules/user_relationships/user_relationships_ui/images/loadingAnimation.gif" }, "slideshowcs": { "imagesCS": [ { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0112.jpg", "from": "0% 10% 1x", "to": "5% 100% 1.5x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0257.jpg", "from": "0% 10% 1.7x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0353.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.2x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_0683.jpg", "from": "0% 10% 1.5x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_1686.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.4x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_1913.jpg", "from": "0% 10% 2x", "to": "0% 100% 1x", "time": "6" }, { "src": "http://www.mysitename.ca/sites/default/files/slideshowcs/dsc_2082.jpg", "from": "0% 10% 1x", "to": "0% 100% 1.5x", "time": "6" } ], "fade": "1" } });
//-->

#4

davebv - December 22, 2008 - 08:21

Thanks to you for reporting bugs. I will have a look at this, maybe jquery cross-slide plugin is incompatible with shadowbox, because I can't see what's wrong between the non-working setting and the working one. I will digg into this.

#5

Dret - December 23, 2008 - 20:45

This is my report... I still don't see the images... can yu help me... if useful i can give to you the complete list of modules installed...

jQuery.extend(Drupal.settings, { "basePath": "/new/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "children": "children", "doubleclick": "doubleclick", "relativity": 0, "clone": 0 }, "lightbox2": { "rtl": "0", "file_path": "/new/(\\w\\w/)sites/default/files", "default_image": "/new/sites/all/modules/lightbox2/images/brokenimage.jpg", "border_size": "10", "font_color": "000", "box_color": "ffffff", "top_position": "", "overlay_opacity": "0.8", "overlay_color": "003399", "resize_sequence": "0", "resize_speed": 400, "fade_in_speed": 400, "slide_down_speed": 600, "use_alt_layout": 1, "disable_resize": 0, "disable_zoom": 0, "force_show_nav": 0, "loop_items": 1, "node_link_text": "View Image Details", "node_link_target": 0, "image_count": "Immagine !current di !total", "page_count": "Pagina !current di !total", "lite_press_x_close": "press \x3ca href=\"#\" onclick=\"hideLightbox(); return FALSE;\"\x3e\x3ckbd\x3ex\x3c/kbd\x3e\x3c/a\x3e to close", "display_image_size": "preview", "image_node_sizes": "(\\.thumbnail)", "trigger_lightbox_classes": "", "trigger_lightbox_group_classes": "img.image-img_assist_custom,img.thumbnail, img.image-thumbnail", "trigger_slideshow_classes": "", "trigger_lightframe_classes": "", "trigger_lightframe_group_classes": "", "custom_class_handler": 0, "custom_trigger_classes": "", "disable_for_gallery_lists": 1, "disable_for_acidfree_gallery_lists": true, "enable_acidfree_videos": true, "slideshow_interval": 5000, "slideshow_automatic_exit": true, "show_play_pause": true, "pause_on_next_click": false, "pause_on_previous_click": true, "loop_slides": false, "iframe_width": "600", "iframe_height": "400", "iframe_border": 0, "enable_video": 0 }, "tableDrag": { "blocks": { "block-region-select": [ { "target": "block-region-left", "source": "block-region-left", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-right", "source": "block-region-right", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-content", "source": "block-region-content", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-header", "source": "block-region-header", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-footer", "source": "block-region-footer", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-animazione", "source": "block-region-animazione", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region-postcontent", "source": "block-region-postcontent", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 }, { "target": "block-region--1", "source": "block-region--1", "relationship": "sibling", "action": "match", "hidden": false, "limit": 0 } ], "block-weight": [ { "target": "block-weight-left", "source": "block-weight-left", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-right", "source": "block-weight-right", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-content", "source": "block-weight-content", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-header", "source": "block-weight-header", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-footer", "source": "block-weight-footer", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-animazione", "source": "block-weight-animazione", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight-postcontent", "source": "block-weight-postcontent", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 }, { "target": "block-weight--1", "source": "block-weight--1", "relationship": "sibling", "action": "order", "hidden": true, "limit": 0 } ] } }, "slideshowcs": { "imagesCS": [ { "src": "http://ycf.it/new/?q=sites/default/files/slideshowcs/01_img.jpg", "from": "2% 23% 1x", "to": "45% 355% 1x", "time": "2" }, { "src": "http://ycf.it/new/?q=sites/default/files/slideshowcs/02_img.jpg", "from": "35% 45% 1x", "to": "45% 45% 1x", "time": "2" } ], "fade": "1" } });

#6

davebv - December 24, 2008 - 07:47

It seems the link to the picture is not generated properly, as you may see, you obtain http://ycf.it/new/?q=sites/default/files/slideshowcs/01_img.jpg, but the correct link should be http://ycf.it/new/sites/default/files/slideshowcs/01_img.jpg

Could you try to enter "/sites/default/files/slideshowcs/" (with the slash at the beginning and the end) in the slideshow cs settings?

#7

davebv - December 24, 2008 - 07:49

Actually, you seem you do not have clean urls, so the problem should be because of that. Try to set up clean urls in your drupal installation, that should do the trick.

#8

Dret - December 24, 2008 - 09:30

Thank You very much... I will have this possibilty (using clean-url) only in the production site... so I'll try later...

#9

davebv - December 24, 2008 - 10:08
Title:Loading...» Slideshow CS not working without Clean URLs
Version:6.x-1.10» 6.x-1.11
Assigned to:Anonymous» davebv

Try the 1.12 version, now it should work without Clean URLs as well. Tell me if you still have any problem.

#10

davebv - December 24, 2008 - 10:14
Status:postponed (maintainer needs more info)» fixed

#11

davebv - December 24, 2008 - 10:14
Version:6.x-1.11» 6.x-1.12

#12

davebv - December 24, 2008 - 16:44
Version:6.x-1.12» 6.x-1.11

#13

Dret - December 25, 2008 - 06:06
Version:6.x-1.11» 6.x-1.12

Thanks a lot... Version 1.12 Works perfectly...!! WOW! :D

One last thing.... Can you tell me if there's a full compatibility with IE6...??

Bye!
Dret.

#14

davebv - December 25, 2008 - 10:54

Currently I cannot test it with IE6, I'm sorry. Maybe someone else could try. Anyway, I will have a look at this, please, stay in touch with the issue #327298: IE compatibility - error on page.

PS: Glad it worked for you.

#15

Dret - December 26, 2008 - 10:26
Status:fixed» won't fix

Something new happens... i found myself with the same problem of brundage:

Images are visible ONLY if i'm logged... unregistered users see only "Loading... message"...

This are the code (with difference in the page in both access mode)

As admin:

jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "children": "children", "doubleclick": "doubleclick", "relativity": 0, "clone": 0 }, "slideshowcs": { "imagesCS": [ { "src": "http://ycf.it/sites/default/files/slideshowcs/01_anim.jpg", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" }, { "src": "http://ycf.it/sites/default/files/slideshowcs/02_anim.jpg", "from": "0% 0% 1x", "to": "0% 0% 1x", "time": "2" } ], "fade": "1" } });

As Unregistred User:

jQuery.extend(Drupal.settings, { "basePath": "/", "dhtmlMenu": { "slide": "slide", "siblings": "siblings", "children": "children", "doubleclick": "doubleclick", "relativity": 0, "clone": 0 } });

There's a big part of it missed...!!!

I don't have Shodowbox installed.

Thanks!

#16

davebv - December 26, 2008 - 12:35
Status:won't fix» fixed

Set the correct permission in the user permission page as you stated in #351297: Solved problem but need a documentation update .

Thanks for reminding the permission issue.

#17

davebv - December 26, 2008 - 12:48

By the way, it looks great in your web, If you like it, you can write a review in http://drupalmodules.com/module/slide-show-cs

#18

System Message - January 9, 2009 - 12:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.