silverstripe-dropzone icon indicating copy to clipboard operation
silverstripe-dropzone copied to clipboard

SilverStripe 4 Support?

Open MightyMerio opened this issue 6 years ago • 3 comments

Any plans to port this to SS4 ?

I also did notice there is another module : hudhaifas/silverstripe-frontend-fields that is an option.

MightyMerio avatar Jul 16 '18 17:07 MightyMerio

Can't get hudhaifas/silverstripe-frontend-fields to work (when trying to upload a file, get error: [Emergency] Uncaught Error: Call to a member function Link() on string).

Any clues how to use UploadField on frontend or when drop zone will have SS4 support?

elkebe avatar Jul 30 '18 11:07 elkebe

I have had a crack at this but currently stumped on well, multiple sides, there aren't many parallels between how SS3 and SS4 handle assets, different patterns so, have to put this off for now.

samthejarvis avatar Aug 23 '18 14:08 samthejarvis

Thanks for looking into this.

A module I have managed to partially get working with a few hacks is jinjie/silverstripe-frontenduploadfield It appears to be using dropzone.js and uploads images/files correctly. However it doesn’t yet provide the ability to use saveInto($form). My current workaround for this is to save it into a users temp folder, then move it and rename it into the correct folder. I’m sure there is a better way of doing this - hopefully this might help you!

On 24/08/2018, at 2:37 AM, Sam Jarvis <[email protected] mailto:[email protected]> wrote:

I have had a crack at this but currently stumped on well, multiple sides, there aren't many parallels between how SS3 and SS4 handle assets, different patterns so, have to put this off for now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/unclecheese/silverstripe-dropzone/issues/93#issuecomment-415441518, or mute the thread https://github.com/notifications/unsubscribe-auth/Ad3H6_1ZcpBPDBZar5bwjhWSPFeWFUddks5uTr4mgaJpZM4VRf4B.

elkebe avatar Aug 24 '18 06:08 elkebe