Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2010 at 19:47 UTC
Updated:
23 Jun 2010 at 18:20 UTC
View configured to select 5 images, shows them fine on grid. Select slide slideshow with single frame mode, default settings. It shows first image only and sits there on it.
IE gives this error:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)
Timestamp: Tue, 8 Jun 2010 18:54:43 UTC
Message: 'Drupal.settings.viewsSlideshowSingleFrame' is null or not an object
Line: 14
Char: 5
Code: 0
URI: http://drupal.localhost:8082/sites/all/modules/views_slideshow/contrib/v...
Site is local so cannot show it.
Comments
Comment #1
redndahead commentedFor some reason the settings for slideshow are not loading on your page. Is this a block or page view? Is there caching that is turned on?
Comment #2
staff_whyte commentedIts is a block that I am trying to display. When I preview either the page or block in the view itsself it works fine.
I dont have caching turned on for the block.
Comment #3
redndahead commentedCan you paste the settings that are output for the slideshow. If you click on create new issue in this issue queue you'll see what I want is step 2.
Comment #4
staff_whyte commentedI am not sure where to find this to be honest, could you point me in the right direction? Thanks
Comment #5
intyms commented#4
staff_whyte
View the source of the webpage (in firefox click the menu: View/Page source).
Find the container which starts with:
and ends with
Paste here the content of that container.
Comment #6
staff_whyte commentedHere is the only 1 on the page:
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 }, "ucCollapsedBlock": 1 });
There are two views on the page, the one giving my issue and another whihc is a grid view that displays six images fine.
I call the view(called 'productsgallery_v2') as follows:
print views_embed_view('productsgallery_v2');Comment #7
kutter commentedI ran into this too - also using the views_embed_view function.
Make it a block, then it will work.
Comment #8
staff_whyte commentedDo you mean:
print views_embed_view('productsgallery_v2','block');I tried that and nothing shows up, not even the first image
Comment #9
redndahead commentedViews embed view doesn't add the styles to the page. The reason is All the javascript has been rendered before the embedding happens so no javascript can be added. Look here for a way to be able to embed the view that way. http://drupal.org/node/325353#comment-2972046
Comment #10
redndahead commentedI have now added a documentation page on the subject.
http://drupal.org/node/823056
Comment #11
staff_whyte commentedThats fixed it(#9), thanks for your help