I have problem in friends list page.

Hi

     I try to remodel the friends list page and friend of friend list page,i have change the menu in topbar the following issue in that page how can clear this problem.

  1. The right side menu can't to be display, only display the invite friends menu.i add the elgg_set_context('friends'); to hook function if checking.(i have change the link url using elgg_register_menu_item() and also change the page handler).
  2. When i open the invite friends page the other menu is display but the url is won't be changed.

I can't change the core file of the friends, before changes made in my own plugins. now please help me how can display the menus and change the url of the menu.