Friday 23 December 2011

How to Disable "Remember folder location" and start always in the root

Web Interface "remembers" (in a cookie) the folder location by default where users exit Web Interface and at the next login starts automatically in that folder. To overwrite the default of remembering folders and starting always in the root, two things need to be changed.
  1. Start always in the root

    Edit applist.cs in site/serverscripts

    -- find --
    currentFolder = userPrefs.getCurrentFolder();

    -- change to --
    currentFolder = "";
  2. Remove or Disable option from the presentation settings

    Edit presentationSettings.inc in site/include

    -- find --
    value="<%=VAL_ON%>" <%=viewControl.getRememberFolderCheckedStr()%>>

    -- change to --
    value="<%=VAL_ON%>" <%=viewControl.getRememberFolderCheckedStr()%>" disabled>

    before Image after

    To remove the option from the presentation settings

    Edit presentationSettings.cs in site/serverscripts

    -- find --
    bool bCustomizeRememberFolderOption = true;

    -- change to --
    bool bCustomizeRememberFolderOption = false;

    before Image after

No comments:

Post a Comment

Next previous home