aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index a769f3691..b0b16d0a3 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -43,6 +43,7 @@
elgg_extend_view('css','pages/css');
elgg_extend_view('groups/menu/links', 'pages/menu'); // Add to groups context
elgg_extend_view('groups/right_column', 'pages/groupprofile_pages'); // Add to groups context
+ elgg_extend_view('owner_block/profile_extend', 'pages/profile_extend');
// Register entity type
register_entity_type('object','page');
@@ -103,13 +104,6 @@
add_submenu_item(sprintf(elgg_echo("pages:group"),$page_owner->name), $CONFIG->wwwroot . "pg/pages/owned/" . $page_owner->username);
}
}
-
- if ($page_owner instanceof ElggEntity) {
- elgg_add_submenu_item(array(
- 'text' => elgg_echo('pages'),
- 'href' => "{$CONFIG->url}pg/pages/owned/{$page_owner->username}",
- ));
- }
}
/**