Hello,
I am using elfinder extension to make file management system,
I want to make all activity like upload, delete, etc record to database…
does elfinder handle it?
Thank you…
Hello,
I am using elfinder extension to make file management system,
I want to make all activity like upload, delete, etc record to database…
does elfinder handle it?
Thank you…
there is a issue on https://github.com/Studio-42/elFinder about this, someone also posted a answer there here is a link
I already try it but I get error…
Invalid backend configuration.
Readable volumes not available.
It is my Elfinder setting
<?php
class ElfinderController extends Controller {
// don't forget configure access rules
public function actions() {
return array(
// main action for elFinder connector
'connector' => array(
'class' => 'ext.elFinder.ElFinderConnectorAction',
// elFinder connector configuration
// https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options
'settings' => array(
'roots' => array(
array(
'driver' => 'MySQL',
'path' => Yii::getPathOfAlias('webroot') . '/files/',
'URL' => Yii::app()->baseUrl . '/files/',
'alias' => 'Root Alias',
'acceptedName' => '/^[^\.].*$/', // disable creating dotfiles
'attributes' => array(
array(
'pattern' => '/\/[.].*$/', // hide dotfiles
'read' => false,
'write' => false,
'hidden' => true,
),
),
)
),
)
),
// action for TinyMCE popup with elFinder widget
'elfinderTinyMce' => array(
'class' => 'ext.elFinder.TinyMceElFinderPopupAction',
'connectorRoute' => 'connector', // main connector action id
),
// action for file input popup with elFinder widget
'elfinderFileInput' => array(
'class' => 'ext.elFinder.ServerFileInputElFinderPopupAction',
'connectorRoute' => 'connector', // main connector action id
),
);
}
public function actionIndex()
{
$model = new ElfinderFile;
$this->render('index',array('model'=>$model));
}
}
?>
is there wrong with that setting?
Thank you