Views: Displaying the subgroup of current group

This article will create the simple view that will display the sugroups of current group.

I have written an article for creating the subgroup of groups:

Actually i have used the default view provided by the organic group module, but have made a little tweak like changing the content type and etc..

You can directly import the view for the usign.

$view = new view();

$view->name = 'og_subgroups';

$view->description = 'Show all content (nodes) of a group.';

$view->tag = 'og';

$view->base_table =