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

redndahead’s picture

Status: Active » Postponed (maintainer needs more info)

For 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?

staff_whyte’s picture

Its 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.

redndahead’s picture

Can 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.

staff_whyte’s picture

I am not sure where to find this to be honest, could you point me in the right direction? Thanks

intyms’s picture

#4
staff_whyte

View the source of the webpage (in firefox click the menu: View/Page source).
Find the container which starts with:

"<!--//--><![CDATA[//><!--"

and ends with

//--><!]]>

Paste here the content of that container.

staff_whyte’s picture

Here 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');

kutter’s picture

I ran into this too - also using the views_embed_view function.

Make it a block, then it will work.

staff_whyte’s picture

Do you mean:
print views_embed_view('productsgallery_v2','block');

I tried that and nothing shows up, not even the first image

redndahead’s picture

Views 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

redndahead’s picture

I have now added a documentation page on the subject.

http://drupal.org/node/823056

staff_whyte’s picture

Status: Postponed (maintainer needs more info) » Fixed

Thats fixed it(#9), thanks for your help

Status: Fixed » Closed (fixed)

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