'group', 'limit' => $limit, 'full_view' => false, )); break; case "pop": $objects = list_entities_by_relationship_count('member', true, "", "", 0, $limit, false); break; case "active": case 'default': $options = array( 'type' => 'object', 'subtype' => 'groupforumtopic', 'annotation_name' => 'generic_comment', 'order_by' => 'e.last_action desc', 'limit' => 40, 'fullview' => TRUE ); $objects = elgg_list_entities($options); break; } //get a group count $group_count = elgg_get_entities(array('types' => 'group', 'limit' => 10, 'count' => TRUE)); //find groups $area2 .= elgg_view("groups/sidebar/find"); //featured groups $area2 .= elgg_view("groups/sidebar/featured"); elgg_set_context($context); $objects = "