elgg topbar customization - removing 'activity' from the tools drop down menu

hi,

i've been searching for the contents of that drop down menu so that i could remove the activity link. which file is the activity link in?

 

thanks in advance!

  • If you are on 1.7.X you can turn this off from the plugin settings of riverdashboard

    For 1.8, you can create your own menu for the site and if needed, you can remove the activity menu by adding the following to the init function of your theme.

        elgg_unregister_menu_item('site', 'activity');