I can create a page with slideshow in views--no problem, but when I use a block, and use the following code to display it :

$block = module_invoke('views', 'block', 'view', 'rotator-block_1');
print($block['content']); 

The first image shows, but nothing else. The only thing *I* can see different is that some tags are different. On the page with a block you get:
views_slideshow_singleframe_div_rotator-block_1_0

AND firefox webconsole gives:
[12:14:36.520] Drupal.settings.viewsSlideshowSingleFrame is undefined @ http://www.mydomain.localhost/modules/views_slideshow/contrib/views_slid...

On the page made with views:page you get
views_slideshow_singleframe_div_rotator-page_1_0

-- Going to try to get to the bottom, but wanted to report, hope someone can help.

This is what the drupal.settings is outputting

<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, { "basePath": "/", "admin_menu": { "margin_top": 1 } });
//--><!]]>

Comments

Paintbox’s picture

After doing more searching I found a solution in this thread:

https://drupal.org/node/325353#comment-2387948

I moved my block into an area, and printed that area. This seem to have added the necessary code. I hope this will help someone else with the same problem.

redndahead’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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