srs81 / CakePHP-AjaxMultiUpload

CakePHP 2 plugin to allow for easy multi-file upload with AJAX
Other
65 stars 33 forks source link

Two Upload Buttons in Same View #10

Closed bobartlett closed 12 years ago

bobartlett commented 12 years ago

I have committed a quick and dirty solution for https://github.com/srs81/CakePHP-AjaxMultiUpload/issues/7

One thing to add is that you will want to use something like this to handle subdirs echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir1'); echo $this->Upload->edit('Requirement', $this->request->data['Requirement']['id'] . '/subdir2');

srs81 commented 12 years ago

Works great! Thanks for the change - I was able to confirm that it works and am merging it in now.