elFinder Possible url options: all standard elFinder features (find in official WIKI)
tw_elfinder_browser.html?rememberLastDir=0&useBrowserHistory=0&folder=assets&pset=customSet&unlocked=1&hide=234p&defaultView=icons&sort=name&sortDirect=desc
By default, elFinder will lock all your folders. Change setting by viewing the properties of the elFinder snippet. Find the snippet, right-click on it, find properties. Best to create your own property set.
1.
unlocked=1 - If you are an admin use this to lock all folders from the browser
2.
rememberLastDir and useBrowserHistory - must be 0 if you use
folder to quickly target destination
3.
hide - you have 6 volumes (1,2,3,4,5,p) to work with, you can hide any via browser when you want. To hide p (personal folder) hide=p, to hide 2,4 and 5 and p, use hide=2345p
4.
folder - if you have multiple volumes, only the first will work. You may hide the rest except the one you wish to target. Say you wish to target in {volume 4} myImages/the business/wonderful acres/pdfs
----do tw_elfinder_browser.html?hide=1235p&folder=myImages/the business/wonderful acres/pdfs
5.
pset - by now you have created your own Property Set to backup your settings. To use it, do
tw_elfinder_browser.html?pset=customSet...
Responsive FileManager
-Please see official WIKI for all the URL parameters that RFM supports
-We added one,
pset=yourCustomPSet
In TinymceWrapper Plugin properties, change the parameters you want for each browser.
If using Native MODx browser, yes, you can change the default media source, easy peasy!
For RFM, everything you need is exposed in the responsivefilemanagerConnector snippet properties.
For elFinder, go to elfinderConnector.
Take them to school.
For auto creation of personal folders, these are the snippets that do the magic, attack them if you like:
autoCreateFoldersTWelfinder
autoCreateFoldersTWrfm
FEEDBACK is highly appreciated.
P.S (critical!!!)
**FIXED the 404 error for browser.js**
Redownload or open TinymceWrapper Plugin, in the code
find
$modx->controller->addJavascript('/demo/assets/components/tinymcewrapper/browserConnectors/browser.js');
replace with
$modx->controller->addJavascript(MODX_ASSETS_URL.'components/tinymcewrapper/browserConnectors/browser.js');
[ed. note: donshakespeare last edited this post 8 years, 8 months ago.]