This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 2 years, 2 months ago.

Save current menu status


  • Axiante
    Participant

    Member Reply #3829

    Hi,

    how can i save the current status of left sidebar menu.

    Is there a config in any .js to enable this “remember” function of collapsed-expanded menu.

     

    Thanks

    Rubens

    Sean
    Sean
    Keymaster

    Posts: 4233
    Support Staff Reply #3840

    Hi,

    You can save the sidebar menu state in user session and when user reloads pages you can assign sidebar menu toggler class(“page-sidebar-closed” to the body element and “page-sidebar-menu-closed” to “page-sidebar-menu” DIV). When user clicks on the sidebar toggle icon you can send ajax request to server and remember menu state in user session. So this solution is not built in with the theme since it requires server side coding as well.

    Thanks

Tagged: 

You must be logged in to reply to this topic.