By marknt15 on
Hi Guys,
How can I call the og 'organic group' by using module_invoke()? It displays nothing when I use the code below in my .module file
Thanks in advance
-Mark
function theme_cec_community_list($param) {
$list = $param['list'];
$block_group = module_invoke('og', 'block', 'view', 0);
$content = '<div>'.$block_group['content'].'</div>';
return $content;
}
Comments
Anyone please?
Anyone please help me? I can't call the og using module_invoke.
Did it by changing the delta
Did it by changing the delta to number 3. I checked the og module file. I was not familiar with the hook block before :\