- Issue created by @w01f
- π΅πΉPortugal jmauricio
Thanks.
I think that it would be possible, yes, but maybe in a separate sub-module of this.
I will look into it as soon as i have a finished stable version of this module. - πΊπΈUnited States w01f
Thinking through this a bit more I think there would be two main parts.
1. Media Folders could detect the folder nesting in the S3 bucket and then add the correct nested taxonomy to the media entity.
2. If a user changed the taxonomy term (folder location) for a media entity, Drupal would inform S3 to move the file accordingly.
3. Would some kind of "change pending" or "completed" notification be needed - possibly as a "processing" circling arrows, followed by a green check mark icon, or similar feedback to the Drupal user to let them know the change was completed successfully?
- π΅πΉPortugal jmauricio
@w01f
Digging into this, i have found some problems that make this not possible for this module.
- There is no way to create a folder in a s3 bucket, folders are not objects unless there is a file in that location.
- You can have multiple file systems on the same website, public, private, s3, etc, this makes your request impossible to do with the same UI.
- The purpose of this module is to use taxonomy terms as folders, so that it will never need to change the physical location of the files and therefor never have to update the file location in the DB.This being said, i've tested the s3fs module, and on my current dev version, it works fine, files are uploaded to the s3 filesystem and displayed without any issue.
Maybe what you need is a different module, something like "S3fs navigator", or something like that, using this UI.