how to add menu in the river instead of comments i need to add facebook share ?

i found that to add menu we need to give elgg_register_menu_item('river',--);

but i dont know wher to give and how to give ...... any suggestion guys .?

thanks in advance