CakePHP-AjaxMultiUpload icon indicating copy to clipboard operation
CakePHP-AjaxMultiUpload copied to clipboard

AjaxMultiUpload for cakephp 3.x

Open beautifullife opened this issue 9 years ago • 6 comments

After spend time to convert this plugin for cakephp 3.x, I uploaded it again for anybody needed like me. Link download : http://blog.sheetmusic4you.net/articles/view/1

beautifullife avatar May 20 '15 08:05 beautifullife

Thanks! Do you have a forked version on GitHub, rather than just as a download, so you can commit a pull request to merge?

srs81 avatar May 24 '15 18:05 srs81

I don't have forked version on Github, but I'll try to create a new one. Tks!

beautifullife avatar May 25 '15 07:05 beautifullife

Thanks for your work on this! Can you let me know if these are the only changes needed:

  • In config/routes.php, add more router for upload plugin: $routes->connect('/ajax_multi_upload/:controller/:action/*',['plugin' => 'AjaxMultiUpload']);
  • In src/Template, create new file Uploads/upload.ctp with content:

Also, it looks like those are not changes needed to the plugin, but rather the CakePHP application, is that right?

srs81 avatar Jul 22 '15 21:07 srs81

For cakephp 3, I changed somethings:

multiuploadajax-1 multiuploadajax-2

And some configurations for my app...

beautifullife avatar Jul 23 '15 04:07 beautifullife

Hi, thanks for both of you working on this.

One more thing I needed was adding use Cake\Core\Configure; in Config/bootstrap.php

Needs testing, I'll keep you up to date if it's working fine.

mlumbroso avatar Aug 22 '15 13:08 mlumbroso

Hi,

Does it work on CakePHP 3 with all these changes?

Thanks

wblondel avatar Oct 28 '16 13:10 wblondel