diff options
-rw-r--r-- | start.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -94,7 +94,7 @@ function videolist_pagesetup() { $page_owner = page_owner_entity(); if ($page_owner instanceof ElggGroup && get_context() == "groups") { - add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); + //add_submenu_item(sprintf(elgg_echo("videolist:group"), page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); } else if (get_context() == "videolist") { /********************************************************************************************** ****if user is OR is not registered user then show him following page menus to choose from @@ -106,7 +106,7 @@ function videolist_pagesetup() { add_submenu_item(elgg_echo('videolist:find'),$CONFIG->wwwroot."pg/videolist/search/"); */ - } else if (get_context() == "groups") { + } else if (get_context() == "group") { //add_submenu_item(sprintf(elgg_echo("videolist:home"),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/owned/" . page_owner_entity()->username); if ($page_owner->canEdit()) { //add_submenu_item(sprintf(elgg_echo('videolist:browsemenu'),page_owner_entity()->name), $CONFIG->wwwroot . "pg/videolist/browse/". page_owner_entity()->username); |