Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'd like to make a custom implementation of plupload, as seen in the example here :
http://www.plupload.com/example_custom.php
But it uses plupload.Uploader()
, not pluploadQueue()
.
I'm not sure how to use that in Plupload integration...
Comments
Comment #1
slashrsm CreditAttribution: slashrsm commentedI suspect that it is not possible at the moment. However... I plan to start 2.x branch for new features, that possibly break backward compatibility and this could find it's way to that branch.
It would be nice to do a research and propose a solution for implementation.
Comment #2
Pierre_G CreditAttribution: Pierre_G commentedI found a way by attaching a JS to my form, which completely override the JS of the module, with :
I also added a
#prefix
to myplupload
form element to add custom container / drop area and an pickfile button.Right now, I'm trying to figure out a way to do what I want with the javascript, because it's slightly different with the plupload method used for a custom widget.
I'll be glad to share some code once done.
Comment #3
slashrsm CreditAttribution: slashrsm commentedSince this can be solution for your specific website, I doubt that this solution will work in general.
we need something that will allow people to select Plupload widget on a FAPI level. Solution should be clean and simple.
Comment #4
loze CreditAttribution: loze commentedhas there been any work in this direction? I would like to be able to do something similar without using pluploadQueue
Comment #5
slashrsm CreditAttribution: slashrsm commentedNo, no work done yet. We will probably implement this for D8 we might backport it afterwards.