Closed BackNot closed 1 year ago
It turns out I had to add "path" variable to the fm_elfinder file. It works like this:
uploads:
driver: Flysystem
path: tmp
flysystem:
type: custom # !set type to custom, it will tell bundle to use custom driver
adapter_service: 'local_adapter' # select previously configured adapter service
I try to implement elfinder with my own custom adapter. I installed this https://github.com/barryvdh/elfinder-flysystem-driver. I inherited from FilesystemAdapter and implemented only one method (so far) in my custom adapter - listContents. The problem is that elfinder does not initially show my files, but when I search for them in the search bar they appear. Also the "info" button shows that there are 2 files. Here is my adapter logic:
fm_elfinder.yaml:
It seems that the files are sent correctly in the initial response:
I can't find any errors in the log.