I was googling for how to post a block in a page, can came across some php code

$block = module_invoke('couloir_slideshow1', 'block', 'view', 1);
print $block['content'];

The aim is to show the slideshow in a page/story

But its not working. I checked the slideshow standalone, and it works, however in the block it does not.
I also don't under stand the "number" after 'view'. What is that supposed to mean?

Comments

tsk1979’s picture

any help guys, I am really struck here.
I went through the docs, but can't figure out how to do this stuff.
I want the title page of my website to be such that at the center there is a slideshow.
Any other ways of doing this would be great too!

wickedbadawesome’s picture

I was using the same technique for drupal 5 but now that i have upgraded to 6 i can not use it. from what i have been able to tell this is the cheating way to do it. so maybe ver 6 droped this capability. I do not know. But i need the answer just the same