MCFileManager:Configuration/general.disabled tools

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Option: general.disabled_tools

This option enables you to specify what tools are to be disabled/grayed out for users. The option should contain a comma separated list of tools to be disabled.

Available tools

createdir
Create directory icon
createdoc
Create document icon
refresh
Refresh file list icon
upload
Uploads file icon
props
File/Directory properties icon
cut
Cuts files/directories icon
copy
Copy files/directories icon
paste
Paste files/directories icon
delete
Delete files/directories icon
unzip
Upzip icon
edit
Edit icon. Requires: 3.1
imagemanager
Image Manager icon. (integration with the MCImageManager).
separator
Separator line

Example of usage in the config.php file

$mcFileManagerConfig['general.disabled_tools'] = "createdir,createdoc,delete";

Example of usage in a mc_access file

general.disabled_tools=createdir,createdoc,delete
Personal tools