Web Client
Web Client Settings
It is possible to control some aspects of the Web Client's behaviour.
Web client versions 5.0.27 or greater
Settings are contained in the folder <web client folder>/config
Configurable settings are contained in the file dmCustom.php.
Warning - Always take a backup of the config folder before making changes
function getDmWebClient (){ return [ 'class' => 'app\components\DmWebClient', 'disabled' => false, /* Switches off main web client access */ 'message' => 'This page is not active', /* Message on login replacing text boxes */ 'disableRestAPI' => false, //Set to true to disable RESTAPI. ]; }
Controls aspects of the main web client.
- disabled - If true then only the sharing portal is active. Default false.
- message - The text to display if the web client is disabled.
- disableRestAPI - If true disables the rest API. Default false.
function getDmShare (){ return [ 'class' => 'app\modules\share\components\Share', 'showInfo' => false, /* Shows info "detail" menu item showCustomProps, showExtendedProps showComments ignored if false */ 'viewInBrowser' => false, /* Switches off View in Browser option for shares */ 'showCustomProps' => true, /* Switches off custom props in details for shares */ 'showExtendedProps' => false, /* Switches off extended props in details for shares */ 'showComments' => false, /* Switches off comments in details for shares */ 'showLimitedColumnSet' => 'only', /* Options no, only, hide . 'only' shows only columns in columnList, 'hide' hides columns in column list, no shows all columns as usual*/ 'columnList' => ['DAV:displayname','DAV:getcontentlength'] /* comma seperated list of tags. Supports trailing wildcard eg 'DMUSER:*' when hiding only */ ]; }
Controls aspects of the sharing portal.
- showInfo - If true shows the Details menu. Default false.
- viewInBrowser - If true the View in Browser option is available. Default false.
- showCustomProps - If true then custom tag properties are visible in the Information panel. Default false.
- showExtendedProps - If true then extended tag properties are visible in the Information panel. Default false.
- showComments - If true then comments are visible in the Information panel. Default false.
- showLimitedColumnSet - Controls columns displayed. Options no|only|hide. Default only.
- no - columnList is ignored. All columns shown
- only - Only the columns in columnList are shown
- hide - Hide the columns in columnList
- columnList - Comma seperated list of columns. Supports trailing wildcard eg 'DMUSER:*' when hiding only
Web client versions below 5.0.27
Settings are in the file <web client folder>/config/web.php
Warning - Always take a backup of web.php before making changes
'dmWebClient' => [ 'class' => 'app\components\DmWebClient', 'disabled' => false, /* Switches off main web client access */ 'message' => 'This page is not active' /* Message on login replacing text boxes */ ],
Controls aspects of the main web client.
- disabled - If true then only the sharing portal is active. Default false.
- message - The text to display if the web client is disabled.
'dmShare' => [ 'class' => 'app\modules\share\components\Share', 'viewInBrowser' => false, /* Switches off View in Browser option for shares */ 'showCustomProps' => false, /* Switches off custom props in details for shares */ 'showExtendedProps' => false ],
Controls aspects of the sharing portal.
- viewInBrowser - If true the View in Browser option is available. Default false.
- showCustomProps - If true then custom tag properties are visible in the Information panel. Default false.
- showExtendedProps - If true then extended (embedded) tag properties are visible in the Information panel. Default false.