File Browser
New in 7.3
Table of contents
File Browser Oveview
With the File Browser enabled in the left menu the ‘File Browser’ menu item is now available.
An overview of the File Brower is shown:
There are several options:
- The buttons ‘User Assets’, ‘Sites Files’, ‘Application Root’ are the three file locations that are important for Masa CMS. Clicking on a buttons takes you to these locations.
- Files can be displayd in List View (the default) or Grid View.
- You can filter files and directories in the input ‘Type to filter’.
Uploading a file
You can upload files to the File Browser as follows:
- Click on ‘Drop files here to upload, or click to browse’
- A file dialog of your file system now opens. Select the file you want to upload. It is also possible to upload multiple files by selecting multiple files from your file system.
- The files are now being uploaded and shown in the overview:
File operations
On the left side of the filename of each file there are three dots. Click on them to open a menu with the available file operations:
- Edit; you can edit the content of the file. This option is only availabe for text files.
- Move; move the file to another directory.
- Rename; rename the file. Note: You can not change the extension of the file.
- Download; download the file.
- Delete: delete the file from the file system.
Editing an image file
If the file is an image, it can be edited in the File Browser.
Under ‘Edit Image’ there are several image manipulation options:
- Rotate Left
- Rotate Right
- Resize
Duplicating an image file
An image has an extra three dot menu option ‘Duplicate’ to duplicate an image.
Folders
Create a new folder
You can create a new folder by clicking the ‘Add Folder’ button.
A modal now opens in which you provide the name of the folder.
The new folder is created and displayed in the file overview.
Folder operations
In the file overview each folder has a three dots menu item on the left of the folder name. Clicking on it opens a menu with the following options:
- Rename; rename the folder.
- Delete; delete the folder. Note: You can only delete folders which are empty.
Disabeling File Browser
By default the File Browser is enabled in Masa CMS. If you don’t want give users acces to the file system via the File Browser, then you can disable this feature. Goto your settings.ini.cfm
file and and set the value filemanagerenabled
to false
. It should look like this:
filemanagerenabled=false
Reload Masa CMS to apply the changes. The File Browser is now disabled. It will not be shown in the menu