-
Notifications
You must be signed in to change notification settings - Fork 0
Passing parameters to the FM
The filemanager accepts some parameters to be passed into the URL :
Since v2.3.0, it is now possible to pass a javascript config file stored in /scripts/. Note that the config file can also be generated dynamically. It should just return a json object formatted as expected.
http://fm.linea21.com/index.html?config=user.config.json
You can specify the language by using langCode
. See example below :
http://fm.linea21.com/index.html?langCode=zh-cn
You can open a given folder by passing it into the URL with expandedFolder
parameter. See example below :
http://fm.linea21.com/index.html?expandedFolder=My_folder/
You can open a given folder by passing it into the URL with exclusiveFolder
parameter. See example below :
http://fm.linea21.com/index.html?exclusiveFolder=My_folder/
Be careful, this will allow restrict the view but it can be changed easily by user only by changing parameter value from URL. For restricted permissions on folders please have a lookn on How to allow users to have their own folder
You can show only images by passing type=images
into the URL with. See example below :