elgg-gitbot / test2

0 stars 0 forks source link

groups: Group profile title buttons can't be unregistered (Trac #4388) #5

Closed elgg-gitbot closed 11 years ago

elgg-gitbot commented 11 years ago

Original ticket http://trac.elgg.org/ticket/4388 on 2012-02-28 by trac user maul, assigned to unknown.

Elgg version: 1.8.3

In elgg/mod/groups/lib/groups.php in the function groups_handle_profile_page(), the function groups_register_profile_buttons($page) is called after the pagesetup event is triggered (from $content = elgg_view('groups/profile/layout', array('entity' => $group));). That prevents any other plugin from un-registering one of those title buttons at the top of a group profile.

elgg-gitbot commented 11 years ago

Milestone changed to Elgg 1.9.0 by ewinslow on 2012-05-12

elgg-gitbot commented 11 years ago

cash wrote on 2012-06-19

You can use the register menu plugin hook to remove menu items. (We've also changed the order so that you will be able to use that event in Elgg 1.8.7).

elgg-gitbot commented 11 years ago

Milestone changed to Needs Review by cash on 2012-06-19