Hi DonS,
I think I've got the same fault as here -
https://forums.modx.com/thread/?thread=97694&page=16
That without the elFinderConnector Default Property Set myModxPermission being set to unlocked there is no way to upload files using the TopNav or RTE elFinders.
I'm writing a mega user experience post. Tentatively entitled - "TinymceWrapper: its part in my downfall". But found this after a week of clicking on nearly everything trying to get stuff to work.
The Snippet elFinderConnector Properties.
I leave the Default and create a new Property Set called elfinderC-PS. Here I change myModxPermission to unlocked and location2 I give a more meaningful name for my test. "Assets Folder elFinderC-PS". Helps my ensure I know what I'm looking at.
This will function as the pset.
The Tinymcewrapper Plugin Properties.
I created a new property set called TMCEW-PS and to ensure something is happening I change the titles as follows:
elFinderBrowserRTEtitle to "elFinder Awesome RTE Browser".
elFinderBrowserTopNAVtitle to "elFinder Awesome TopNav Browser"
And I've even worked out the clever bit that the System Events tab allows 'binding' of the new property set by changing every event that states Default to TMCEW-PS.
So, the elFinder.html gets a pset via URL Parameters and the TopNav and RTE elFinders should get their Property Set via the System Events??? I think.
But by Viewing the elFinder Resource no URLs are appended. Fair, enough perhaps the idea these are added manually.
However, there appears to be no clear mechansism to 'bind' the elFinderC-PS I created earlier - to get the myModxPermission active.
Found these in the Plugin Properties. Brainwave - added &pset=`elfinderC-PS` at the end. (By default no pset is mentioned).
elFinderBrowserRTEurl -
[[~[[TinymceWrapperGRF? &knownField=`pagetitle` &kF=`pagetitle` &kFv=`tw_elfinder_browser` &gNuFv=`id`]]? &scheme=`full` &rememberLastDir=`1` &defaultView=`icons` &unlocked=`1` &theme=`windows10` &pset=`elFinderC-PS`]]
elFinderBrowserTopNAVurl
[[~[[TinymceWrapperGRF? &knownField=`pagetitle` &kF=`pagetitle` &kFv=`tw_elfinder_browser` &gNuFv=`id`]]? &scheme=`full` &rememberLastDir=`1` &defaultView=`icons` &unlocked=`1` &theme=`windows10` &pset=`elFinderC-PS`]]
But brainwave failed.
And did this
http://www.mywebsite.co.uk/tinymcewrapper/elfinder?pset=elfinderC-PS
And the little locked icons disappear. Good. And the Read changes to read and write. Excellent. But still the Upload won't work "Permission Denied". So the elFinder interface thinks Uploads are allowed but they fail in practise.
In summary unlocked=`1` and setting a pset via the URL or the Property as above doesn't appear to work. The only way to reliably make Uploads work is to simply turn the Default Property Set myModxPermission to "Default Unlocked". Odd as the "Default unlocked" isn't the default...
Bug or something I've done wrong?
[ed. note: parthian last edited this post 6 years, 11 months ago.]