// Register for search.
register_entity_type('object', 'blog');
- add_group_tool_option('blog', elgg_echo('blog:enableblog'), true);
-
//add_widget_type('blog', elgg_echo('blog'), elgg_echo('blog:widget:description'), 'profile, dashboard');
$action_path = dirname(__FILE__) . '/actions/blog';
return $url;
}
-/**
- * Add menu items for groups
- */
-function blog_page_setup() {
- global $CONFIG;
- $page_owner = page_owner_entity();
-
- if ($page_owner instanceof ElggGroup && get_context() == 'groups') {
- if($page_owner->blog_enable != "no") {
- $url = "{$CONFIG->wwwroot}pg/blog/{$page_owner->username}/items";
- //add_submenu_item(elgg_echo('blog:groups:group_blogs'), $url);
- }
- }
-}
-
/**
* Register blogs with ECML.
*