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
Comment #1
ItalienskaTroll commentedI've solved the problem by creating a custom region to show only on certain pages:
And then placing the view's block from the admin block panel.
Comment #2
tannerg commentedThis 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?