I am trying to theme OG blocks. OG has the following function
function og_og_block_details($node) {
.........
.........
$block['content'] = theme('item_list', $links). $post;
$block['subject'] = $node->title;
return $block;
}
If I could change theme('item_list', $links). $post to theme('og_block', $links). $post, I will be done. I can then create a function in my template.php. But we all know that is not the right approach as I don't want to change the module code. You can say, why don't I have a separate style sheet as the style class and div id are dynamically generated(id="block-og-0" class="clear-block block block-og"). But my requirement is to create a block-og-0.tpl.php and then hide some links. So it is not just styling. This is one example, but I have different scenarios where I want to theme item_list.
Leaving the default item_list theming intact, how would I override item_list for different blocks?
Thank you.
BinnyG