Questions tagged [cmultifileupload]

CMultiFileUpload is Yii framework class that generates a file input that can allow uploading multiple files at a time.

CMultiFileUpload is Yii framework class that generates a file input that can allow uploading multiple files at a time.

It is based on the jQuery Multi File Upload plugin. The uploaded file information can be accessed via $_FILES[widget-name], which gives an array of the uploaded files.

16 questions
3
votes
1 answer

Yii CMultiFileUpload select multiple files at once doesnt work

i want to select multiple files at once, but only ONE File always shows up in the MultiFile-list Div container with the possibility to delete it. But i want to shop up all the files i selected. What am i doing…
John
  • 31
  • 3
2
votes
0 answers

Getting Uncaught TypeError: jQuery(...).MultiFile is not a function. when using CMultiFileUpload in Yii Framework

I am new to yii. i want to upload multiple images into db using CMultiFileUpload.so,I am using MultiFile plugin. view : $this->widget('CMultiFileUpload', array( 'model'=>$model, 'attribute'=>'imageurl', 'name' => 'imageurl', …
vijay
  • 21
  • 3
2
votes
0 answers

CMultiFileUpload does not show selected files

I am using CMultiFileUpload to upload multiple files. Using htmlOptions I can get multiple=>multiple to work, and multiple files gets stored in the database. However, after every selection from the input dialog box, there should be the name of the…
baskoros
  • 75
  • 3
  • 9
1
vote
1 answer

Data doesn't get saved into the database table when using Yii CMultiFileUpload

I am trying to implement multi files upload within my application. I was referring to this article and tried out this example, and it works (basically, they are the same). But when I try to implement it within my app for some reason it's not saving…
1
vote
0 answers

CMultiFileUpload not show data in edit got in yii

I am uploading multiple files in Yii with the help of CMultiFileUpload and this is the code: $this->widget('CMultiFileUpload', array( 'model' => $model, 'attribute' => 'file', 'accept' => 'jpg|gif|png|pdf', 'options' => array(), …
1
vote
1 answer

CMultiFileUpload class not inserting image names on the database yii

I'm working on multi file(images) uploading functionality. I've tried everything I got. It's not working. It's uploading images on the path I specified but not inserting image's names on the table column. The table's column name is "sample" Here's…
aumio
  • 63
  • 11
0
votes
0 answers

ReactJS - FormData - I have array of objects - each object object has 2 files - how to pass to the API

Using React client user can upload multiple files. I need to capture those files and another boolean in the below model and call .net api. "fileList": [ { "name" : "location1", "PRODUCTIONFILE": {}, "PREVEIWFILE": {}, "OUTLINESONLY":…
0
votes
0 answers

Strange transient error with Multi-file Upload

I'm running grails version 2.3.3 on a local PC not on the internet at this stage. I am building a multi-file upload process and I'm having what can only be described as 'transient' behaviour with this. By transient I mean it has worked correctly for…
mikek
  • 169
  • 1
  • 14
0
votes
1 answer

Multi File sending with HttpClient multipart/form-data

I'm trying to post a multipart/form-data Using HttpClient the form requires a certain number of images. Code : var client = new System.Net.Http.HttpClient(); var content = new MultipartFormDataContent(); var postData = new…
Dr.Vision
  • 85
  • 1
  • 5
  • 14
0
votes
1 answer

cmultifileupload model doesnt work when integrating with other model

CMultifileupload working with 'Files')); ?> as well it $_POST the data to the controller and saves to db but then if i use isNewRecord ? 'Create' :…
user3419342
  • 35
  • 1
  • 8
0
votes
1 answer

How remove "No files selected" in CMultiFileUpload in Yii?

Just starting to learn the Yii. I do not know how to change the button and remove the "No files selected" in the widget "CMultiFileUpload" in Yii framework? $this->widget('CMultiFileUpload', array( 'model'=>$model, 'attribute'=>'photos', …
user3380172
  • 37
  • 2
  • 9
0
votes
1 answer

Why Multiple File Upload Is Not Working?

I have tried so many ways to make multiple file upload workable using CMultiFileUpload widget. Already, I have checked and followed below links- http://www.yiiframework.com/forum/index.php/topic/47665-multiple-file-upload/ Yii multiple file…
user3273871
  • 53
  • 1
  • 5
0
votes
4 answers

how to get filename "CMultiFileUpload " in yii?

I am using the "CMultiFileUpload " to upload multiple files. i have used the below code for this: My view code is: beginWidget('CActiveForm',…
Amit Singla
  • 313
  • 1
  • 7
  • 18
0
votes
4 answers

yii CMultiFileUpload max file size validation

I am using CMultifileUpload for the file upload and trying to set the Maximum upload size for the file. As I searched and didn't get any in-built parameters to set the Max file size before upload. Here my upload file…
Akilan
  • 1,707
  • 1
  • 16
  • 30
0
votes
1 answer

CMultiFileUpload didn't work in CJuiDialog widget Yii

Am using CJuiDialog widget with ajaxlink for popup form..it works well.. But now i need to upload multiple files from that popup form.. so i use CMultiFileUpload for upload option but i acts like a normal single file button.. please help me to solve…
Sudhanshu Saxena
  • 1,199
  • 12
  • 32
1
2