Menu items lose the "elgg-state-selected" class when users click on the Friends or Mine tabs


I've been looking around but I cannot find why Menu Items, as Blogs, Bookmarks, Files, etc., are unselected when I click on the Friends or Mine tabs. They are associated by default to the all URL, so when I click on the All tab they are selected again.

I'm using Release - 1.8.5. Is this fixable?

Thank you very much.

  • I have version 1.8.13 and the elgg-state-selected class won't come up for the custom menu items (elgg-admin ->Appearance->Menu Items).
    Any ideas?
    I guess it was lost by upgrading from 1.8.1 to 1.8.9.

    Thanks in Advance


  • I solved it now with jQuery:

    $(document).ready(function() {
        path= window.location.pathname;
        if(path.indexOf( 'activity' )>-1){
        if(path.indexOf( 'agpages/cat/about' )>-1){