By enboig on
I created a block using views and I would like to insert it's content inside a page. The views name is "el_correu" and the block name is "el_correu". I have found at:
that it should be something like:
$block = module_invoke('el_correu', 'el_correu', 'view');
print_r($block);
echo "AAA";
print $block['content'];
but it doesn't work.
Any hint?
thanks
Comments
I forgot the link
sorry, I forgot to paste the link:
http://drupal.org/node/26502
La vida és una taronja, què esperes per exprimir-la?
Try This...
it works
thanks a lot, it works perfectly now
La vida és una taronja, què esperes per exprimir-la?
I got it in 5.1
Thanks to:
http://drupal.org/node/139668
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/jstools/tabs/...
Editing last line
In order to get this excellent example to work, I had to alter the last line to: