User tests: Successful: Unsuccessful:
The PR add posibility to select directories usign the Media field.
This is helpfull when the site have multiple Media adapters.
Run npm install
.
Create custom field Media,
Pick the directory in the "Directory" option.
Edit TinyMCE (plugin config) "Images Directory" (when "Images Drag and Drop" is On). And test TinyMCE drag and drop upload.
You able to pick only one of folder under /images
You can pick any directory that available in the Media manager
Please select:
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Administration com_media NPM Change Repository Layout Libraries Front End Plugins |
Labels |
Added:
Feature
NPM Resource Changed
PR-5.2-dev
|
@brianteeman I forgot it exists, should be good now.
@dgrammatiko updated
Is it possible to use something other than "types" as I am sure people will confuse it with "type"
Is it possible to use something other than "types" as I am sure people will confuse it with "type"
That would be a b/c break so no
Nope, unfortunately. It is what we already use
ok fair enough. I searched for types =
and got no hits - didn't think about types =
;)
Labels |
Added:
Documentation Required
|
Category | JavaScript Administration com_media NPM Change Repository Layout Libraries Front End Plugins | ⇒ | JavaScript Administration com_media NPM Change Language & Strings Repository Layout Libraries Front End Plugins |
I also updated TinyMCE upload directory for "drag and drop", to use this feature.
Labels |
Added:
Language Change
|
Nice work. I tested it with DPMedia and the FTP plugin, unfortunately when I select a folder from the FTP adapter, the field stays empty in the media custom field.
Thanks for checking. I did not have a time to test with external adapters, and expected it works.
I will update later
There is a free version of DPMedia with the FTP adapter if you want to try it by yourself.
I just navigated to the folder I wanted to test and then hit the select button
Hm, it also works for me.
You navigating with Tree select or Breadcrumbs? Breadcrumbs does not do anything, but Tree should work.
I clicked the folder inside the main area, where the folders are listed, not the tree or breadcrumbs.
I clicked the folder inside the main area, where the folders are listed, not the tree or breadcrumbs.
So you clicked it twice to open?
The media manager cannot handle it as "select".
There only one way to select something in media manager, is to tick the checkbox on the image/folder.
And one addittional way for folders is to click the folder in Tree view.
Yeah, well, it can be confusing.
I double clicked on the last folder inside the main area and then the select button. But I had to do it by being in the parent and then select the folder with the checkbox and not navigating into the folder and then click select.
Category | JavaScript Administration com_media NPM Change Repository Layout Libraries Front End Plugins Language & Strings | ⇒ | Administration com_admin com_media JavaScript NPM Change Language & Strings Repository SQL Installation Postgresql Layout Libraries Front End Plugins Unit Tests |
Labels |
Added:
Unit/System Tests
|
Category | JavaScript Administration com_media NPM Change Repository Layout Libraries Front End Plugins Language & Strings com_admin SQL Installation Postgresql Unit Tests | ⇒ | JavaScript Administration com_media NPM Change Language & Strings Repository Layout Libraries Front End Plugins |
Labels |
Removed:
Unit/System Tests
|
I have update PR, now the folder should be also selectable on "double click".
I have tested this item ✅ successfully on 3223f82
See my last comment
I have tested this item ✅ successfully on 3223f82
I have tested this item ✅ successfully on 3223f82
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
This feature is nice and I will merge it as soon as drone has passed. One thing which I find strange however is, that you can set it to a subfolder, but then you can still move up the folders and select a different folder. This is also present in the current implementation, but if I set it to folder X, I wouldn't expect to be able to upload in a parent folder of that.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-07-23 20:32:48 |
Closed_By | ⇒ | Hackwar |
Works fine for custom fields but what about in the media plugin? These are all subdirectories of /images