Closed paskuale75 closed 2 years ago
I think alias
is what you're looking for (see docs):
'modules' => [
'elfinder' => [
'class' => 'simialbi\yii2\elfinder\Module',
'connectionSets' => [
'default' => [ // like elfinder roots
[
'alias' => 'My root folder name', // <== HERE
'class' => 'simialbi\yii2\elfinder\ElFinderConfigurationLocalFileSystem',
'path' => '@webroot/files',
'URL' => '@web/files'
]
]
]
]
]
Great, thanks @simialbi
Hi @simialbi is there the possibility to show a different label in display, leaving the connectionSets structure intact? I am attaching an image where the name next to the root is taken from the connectionsSets array.
thanks![Schermata da 2021-11-03 10-01-43](https://user-images.githubusercontent.com/9800/140033908-77d0d7ce-a9f1-44c9-820c-38734aa44127.png)