Yii 1.1: cloudfilechooser

Cloud Storage File chooser
1 follower

User can choose files form cloud like Dropbox, Box(in progress)

Requirements

Yii 1.1 or above

Usage

Create a folder named "CloudFileChooser" in extensions.

$this->widget('ext.CloudFileChooser.DBFileChooser',
  array(
  'id' => 'dropbox-file-choose',
  'itemCssClass' => 'noclass',
  'itemTagName' => 'a',
  'linkType' => 'preview',
  'multiselect' => false,
  'attributes' => array('href'=> 'javascript:void(0);'),
  'itemTagText' => 'Samar: Attach from dropbx',
  //'success'=>"js:function(files){ alert(files[0].name); }",
  //'cancel'=>"js:function(message){ alert(message); }"
  )
  ));

Total 1 comment

#19578 report it
samarhaider at 2015/09/15 02:25am
Need Feedback

Its my first extension. If any one found any issue please inform me. I will to resolve it

Leave a comment

Please to leave your comment.

Create extension
Downloads
No downloadable files yet