cloudfilechooser Cloud Storage File chooser

  1. Requirements
  2. Usage

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); }"
  )
  ));

0 0
1 follower
0 downloads
Yii Version: 1.1
License: GPL-2.0
Category: Web Service
Developed by: samarhaider
Created on: Sep 15, 2015
Last updated: 4 years ago

Related Extensions