As a default Web Interface doesn't show the current folder location and the user has to set it by him self. To force the setting for all users, again two things need to be changed
- Show folder as default
Edit applist.cs in site/serverscripts
-- find --
toolbarControl.setShowCurrentFolder( !java.lang.Boolean.FALSE.Equals( userPrefs.getShowFolder() ) && (currentFolder != null) );
-- change to --
toolbarControl.setShowCurrentFolder( currentFolder != null ); - Remove or Disable option from the presentation settings
Edit presentationSettings.inc in site/include
-- find --
value="<%=VAL_ON%>" <%=viewControl.getShowFolderCheckedStr()%>>
-- change to --
value="<%=VAL_ON%>" <%=viewControl.getShowFolderCheckedStr()%> checked disabled>
To remove the option from the presentation settings
Edit presentationSettings.cs in site/serverscripts
-- find --
bool bCustomizeFolderDisplayOption = true;
-- change to --
bool bCustomizeFolderDisplayOption = false;
0 comments:
Post a Comment