Using the created block from the admin blocks panel it works just fine.

I've trouble to make it work by placing the block's code directly into a page's theme instead of using the blocks section:

$block = module_invoke('views', 'block', 'view', "blocks_name_from_configure_link");
print $block['content'];

I get printed all the views' related nodes one after the other with no slideshow effect.

Any suggestion to fix this?

Comments

ItalienskaTroll’s picture

Status: Active » Closed (fixed)

I've solved the problem by creating a custom region to show only on certain pages:

print $highlight;

And then placing the view's block from the admin block panel.

tannerg’s picture

Title: Views Slideshow display problem » Not a fix

This is more of a workaround than a fix. Is there anybody out there that has been able to get module_invoke to work with a views_slideshow created block?