NeoXidizer, on 10 June 2012 - 04:09 AM, said:
1. Why in the description of the topic says "out of date"? We should not use this extension?
2. How to use variable 'uploadTemplate'? How to copy original views(upload, form, download) and edit them outside of extension folder?
1. It was an old post, don't pay attention, the extension is up to date.
2. Just copy them to your model views folder, edit them, render them with renderPartial, or include the code inside your normal views. and call the widget like:
'url' => Yii::app()->createUrl("site/upload"),
'model' => $model,
'attribute' => 'file',
'multiple' => true,
'uploadTemplate' => '#template-upload' //The upload template id
same applies for the download template