Git Product home page Git Product logo

laravel-elfinder's Introduction

elFinder Package for Laravel

For Laravel 8.x and older, please use the latest 0.4 version.

Packagist License Latest Stable Version Total Downloads

This packages integrates elFinder, by making the php files available with Composer (+autoloading) and the assets with a publish command. It also provides some example views for standalone, tinymce and ckeditor. Files are updated from the a seperate build repository

Note: Use php artisan elfinder:publish instead of the old publish command, for future changes!

image

Installation

Require this package with Composer

composer require barryvdh/laravel-elfinder

You need to copy the assets to the public folder, using the following artisan command:

php artisan elfinder:publish

Remember to publish the assets after each update (or add the command to your post-update-cmd in composer.json)

Routes are added in the ElfinderServiceProvider. You can set the group parameters for the routes in the configuration. You can change the prefix or filter/middleware for the routes. If you want full customisation, you can extend the ServiceProvider and override the map() function.

Configuration

The default configuration requires a directory called 'files' in the public folder. You can change this by publishing the config file.

php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=config

In your config/elfinder.php, you can change the default folder, the access callback or define your own roots.

Views

You can override the default views by copying the resources/views folder. You can also do that with the vendor:publish command:

php artisan vendor:publish --provider='Barryvdh\Elfinder\ElfinderServiceProvider' --tag=views

Using Filesystem disks

Laravel has the ability to use Flysystem adapters as local/cloud disks. You can add those disks to elFinder, using the disks config.

This examples adds the local disk and my-disk:

'disks' => [
    'local',
    'my-disk' => [
        'URL' => url('to/disk'),
        'alias' => 'Local storage',
    ]
],

You can add an array to provide extra options, like the URL, alias etc. Look here for all options. If you do not provide an URL, the URL will be generated by the disk itself.

Using Glide for images

See elfinder-flysystem-driver for Glide usage. A basic example with a custom Laravel disk and Glide would be:

  1. Add the disk to your apps config/filesystems disks:

    'public' => [
        'driver' => 'local',
        'root'   => base_path().'/public',
    ],

    Tip: you can use the extend method to register your own driver, if you want to use non-default Flysystem disks

  2. Create a Glide Server for your disk, eg. on the glide/<path> route, using a cache path:

    Route::get('glide/{path}', function($path){
        $server = \League\Glide\ServerFactory::create([
            'source' => app('filesystem')->disk('public')->getDriver(),
        'cache' => storage_path('glide'),
        ]);
        return $server->getImageResponse($path, Input::query());
    })->where('path', '.+');
  3. Add the disk to your elfinder config:

    'disks' => [
        'public' => [
            'glideURL' => '/glide',
        ],
    ],
  4. (Optional) Add the glideKey also to the config, and verify the key in your glide route using the Glide HttpSignature.

You should now see a root 'public' in elFinder with the files in your public folder, with thumbnails generated by Glide. URLs will also point to the Glide server, for images.

TinyMCE 5.x

You can use tinyMCE 5 integration with the following route /elfinder/tinymce5:

route('elfinder.tinymce5');

In the TinyMCE init code, add the following line:

file_picker_callback : elFinderBrowser

Then add the following function (change the elfinder_url to the correct path on your system):

function elFinderBrowser (callback, value, meta) {
    tinymce.activeEditor.windowManager.openUrl({
        title: 'File Manager',
        url: elfinder_url,
        /**
         * On message will be triggered by the child window
         * 
         * @param dialogApi
         * @param details
         * @see https://www.tiny.cloud/docs/ui-components/urldialog/#configurationoptions
         */
        onMessage: function (dialogApi, details) {
            if (details.mceAction === 'fileSelected') {
                const file = details.data.file;
                
                // Make file info
                const info = file.name;
                
                // Provide file and text for the link dialog
                if (meta.filetype === 'file') {
                    callback(file.url, {text: info, title: info});
                }
                
                // Provide image and alt text for the image dialog
                if (meta.filetype === 'image') {
                    callback(file.url, {alt: info});
                }
                
                // Provide alternative source and posted for the media dialog
                if (meta.filetype === 'media') {
                    callback(file.url);
                }
                
                dialogApi.close();
            }
        }
    });
}

TinyMCE 4.x

You can use tinyMCE integration with the following route, which by default is /elfinder/tinymce4:

route('elfinder.tinymce4');

In the TinyMCE init code, add the following line:

file_browser_callback : elFinderBrowser

Then add the following function (change the elfinder_url to the correct path on your system):

function elFinderBrowser (field_name, url, type, win) {
  tinymce.activeEditor.windowManager.open({
    file: '<?= route('elfinder.tinymce4') ?>',// use an absolute path!
    title: 'elFinder 2.0',
    width: 900,
    height: 450,
    resizable: 'yes'
  }, {
    setUrl: function (url) {
      win.document.getElementById(field_name).value = url;
    }
  });
  return false;
}

TinyMCE 3.x

You can add tinyMCE integration with the following route (default: /elfinder/tinymce):

route('elfinder.tinymce');

In the TinyMCE init code, add the following line:

file_browser_callback : 'elFinderBrowser'

Then add the following function (change the elfinder_url to the correct path on your system):

function elFinderBrowser (field_name, url, type, win) {
  var elfinder_url = '/elfinder/tinymce';    // use an absolute path!
  tinyMCE.activeEditor.windowManager.open({
    file: elfinder_url,
    title: 'elFinder 2.0',
    width: 900,
    height: 450,
    resizable: 'yes',
    inline: 'yes',    // This parameter only has an effect if you use the inlinepopups plugin!
    popup_css: false, // Disable TinyMCE's default popup CSS
    close_previous: 'no'
  }, {
    window: win,
    input: field_name
  });
  return false;
}

CKeditor 4.x

You can add CKeditor integration with the following route:

'elfinder.ckeditor'

In the CKeditor config file:

config.filebrowserBrowseUrl = '/elfinder/ckeditor';

Standalone Popup Selector

To use elFinder by using a href, button or other element to trigger a popup window, you will need to do the following.

Add support for a popup window, we have used Jacklmoore's jQuery colorbox, (Not included), but you could use any other, obviously adjusting the following instructions accordingly.

Add required routes

You can add the popup with the following action:

'Barryvdh\Elfinder\ElfinderController@showPopup'

Add the required resources

Be Sure that you have published this packages public assets as described above. Then within the <head> section of your page include the required colorbox styles (we suggest example1' styles, but any will do)

<link href="/assets/css/colorbox.css" rel="stylesheet">

Colorbox depends on jQuery, so ensure that you have it included within your page, then somewhere after your jQuery file has been included, add the script for jQuery Colorbox, such as...

<script type="text/javascript" src="/assets/js/jquery.colorbox-min.js"></script>

Now add a link to the popup script, just before the close of your <body> tag. A non-minified version is also provided, for if you wish to modify the colorbox config. Simply copy to your assets location, and adjust/minify as desired.

<script type="text/javascript" src="/packages/barryvdh/elfinder/js/standalonepopup.min.js"></script>

Usage

In order to use the finder to populate an input, simply add your input that you wish to be populated, ensuring to use an ID (This will be used to update the value once a file/image has been selected)......

<label for="feature_image">Feature Image</label>
<input type="text" id="feature_image" name="feature_image" value="">

Now just add the element that you wish to use to trigger the popup, ensuring to add the class popup_selector and the data-inputid atribute containing the value matching the id of your input you wish to be populated, as below.

<a href="" class="popup_selector" data-inputid="feature_image">Select Image</a>

You can have as many elements as you wish on the page, just be sure to provide each with a unique ID, and set the data-updateid attribute on the selector accordingly.

laravel-elfinder's People

Contributors

alicompu avatar anhskohbo avatar barryvdh avatar bericp1 avatar ceesvanegmond avatar daveismynamecom avatar dkulyk avatar henrydewa avatar j5dev avatar johnhout avatar jordyvandop avatar justreth avatar laravel-shift avatar maurocordioli avatar moura137 avatar ozdemirburak avatar pfjnexuspoint avatar robindrost avatar sdebacker avatar sukonovs avatar tabacitu avatar tallesairan avatar the94air avatar thisisablock avatar timfoerster avatar tralves avatar tudor-gala avatar tudor2004 avatar ultimatebusiness avatar yuri-moens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laravel-elfinder's Issues

Unit testing routes causes an error

May it be better removing session_start() from elFinder.class.php? Can this be ignored?

...
$this->call('get', '/elfinder/connector');
$this->assertResponseOk();
...

ErrorException : session_start(): Cannot send session cookie - headers already sent by (output started at phar:///Users/martin/PhpStorm/phpunit.phar/phpunit/Util/Printer.php:172)
#0 [internal function]: Illuminate\Exception\Handler->handleError(2, 'session_start()...', '/Applications/M...', 199, Array)
#1 /Applications/MAMP/htdocs/Webseiten/JobsCMS/vendor/barryvdh/laravel-elfinder/src/elFinder/elFinder.class.php(199): session_start()

Complete phpunit output: http://paste.laravel.com/1eMo

composer in L4

Hi ! Thanks for your work

I can't install it with composer...
Can you help me, and told me whats exactly what i have to write in composer to have the 0.2 branch (l4) ?

Thanks

Allow only images to be uploaded

Hi, what i'm trying to do is to allow only images to be uploaded, but this dosent's seems to work for me, i'm able to upload any kind of files even php files !
i refered to the wiki to see differents options and this is my configuration:

'roots' => array(
'accessControl' => 'access'  ,           // disable and hide dot starting files (OPTIONAL)
'uploadAllow' => array('image'),
'mimeDetect' => 'internal',
'imgLib'     => 'gd',
'uploadOrder'=> array( 'allow', 'deny' )
),

any help would be apprecciated, sorry for my bad english

can't make it work

so i tried to integrated it into laravel 4.2 and getting
Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException

here is my setup:
tinymce.init({
selector: "textarea",
theme: "modern",
skin: 'light',
plugins: [
"advlist autolink lists link image charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars code fullscreen",
"insertdatetime media nonbreaking save table contextmenu directionality",
"emoticons template paste textcolor colorpicker textpattern"
],
toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
toolbar2: "print preview media | forecolor backcolor emoticons | fontselect fontsizeselect",
image_advtab: true,
templates: [
{title: 'Test template 1', content: 'Test 1'},
{title: 'Test template 2', content: 'Test 2'}
],
file_browser_callback : elFinderBrowser
});

function elFinderBrowser (field_name, url, type, win) {
  tinymce.activeEditor.windowManager.open({
    file: 'public_html/elfinder/tinymce',// use an absolute path!
    title: 'elFinder 2.0',
    width: 900,
    height: 450,
    resizable: 'yes'
  }, {
    setUrl: function (url) {
      win.document.getElementById(field_name).value = url;
    }
  });
  return false;
}

and i put my tinymce file in public_html/js

S3 Supprt?

Have you ever thought about integrating this? I see the elFinderVolumeS3.class.php is available.

How to use as a selector for text input, triggered by button

I am trying to create the ability to use elfinder as a file selector within a form, essentially sending the file path back to a text field input, however I am running into issues.

The issue seems to be because the required files are not public, and I am struggling to suss how to access them from within the package, without simply copying them all to the public dir, and having duplicates.

Heres an example of my usage, as there may be an alternate way Im missing, or further advice you can give....

myform.blade.php

...... cut for breveity .....

<div class="row">
        <div class="small-12 columns">
            {{ Form::label('feature_image') }}
            <div class="row collapse">
                <div class="small-10 columns">
                    <input type="text" id="feature_image" name="feature_image" value="" />
                </div>
                <div class="small-2 columns">
                    <a class="button secondary postfix image_selector" data-upateimage="feature_image">Select Image</a>
                </div>
            </div>

        </div>
    </div>

...... cut for breveity .....

<script type="text/javascript" src="{{ asset('/packages/barryvdh/laravel-elfinder/js/elfinder.full.js') }}"></script>
<script>
$('.image_selector').click(function(){
    updateID = $(this).attr('data-upateimage'); // Btn id clicked

    // fire elfinder for image selection
    $('<div />').elfinder({
        url : '/elfinder/connectors/php/connector.php',
        dialog : {
            modal: true,
            width: 700,
            height: 450,
            title: "Select your file",
            zIndex: 99999,
            resizable: true,
        },
        commandsOptions: {
          getfile: {
            oncomplete: 'destroy' 
          }
        },                            
        getFileCallback: function(file) {
            document.getElementById('#'+updateID).value = file.url; 
            jQuery('a.ui-dialog-titlebar-close[role="button"]').click();
        }
    });

});
</script>

InvalidArgumentException

InvalidArgumentException in UrlGenerator.php line 540:
Action App\Http\Controllers\Barryvdh\Elfinder\ElfinderController@showConnector not defined.

Fix: just change

Barryvdh\Elfinder\ElfinderController@showConnector
to
\Barryvdh\Elfinder\ElfinderController@showConnector

in resources/view/*.php

elFinderVolumeMySQL

Have a good day!

What is elFinderVolumeMySQL.class ? How can I use MySQL storage ?

Elfinder JS Error

When i click from Insert/edit image menu to source button chrome console return these errors:
Uncaught TypeError: b.editor.windowManager.createInstance is not a functiontinyMCEPopup.init @ tiny_mce_popup.js:5(anonymous function) @ tiny_mce_popup.js:5
Uncaught TypeError: Cannot read property 'add' of undefined(anonymous function) @ tinymce:52

Before that process doesn't show any error in console. Are there anybody experiencing this problem?

wrong file address

In ckeditor I have set value of 'dir' => 'upload' in config file
But in ckeditor when I choose a file to use it in editor , it shows the file adress without public folder
For example site.com/upload/file.jpg and this adress is wrong. It should be like site.com/public/upload/file.jpg
What should i do for solving these problem

Unable to load image

Upload a picture is working, but the preview of the image not, and when i click in "resize and rotate", "Unable to load image" is message I get.

Sorry about my english.

Can't resize standalone colorbox

First of all brilliant work!

Now, I am using elfinder with ckeditor in my website, the only problem I'm facing is resizing the colorbox while opening elfinder standalonepopup. Following is a screenshot of how it looks by default.

http://awesomescreenshot.com/06a4aayl37

I want the colorbox to open and show entire window of elfinder, so height of colorbox needs to be increased.

I've tried $.colorbox.resize({width:"80%", height:"80%"}); but to no avail. Please suggest how can I do this.

Regards

What is "TinyMCE init code" ?

Can you please help me to understand this line :

"In the TinyMCE init code, add the following line:"

What is it ? where is it ?

Thanks

Error composer require barryvdh/laravel-elfinder

Hi,
composer require barryvdh/laravel-elfinder

Error
http://oi60.tinypic.com/9fo6fs.jpg

{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"laravel/framework": "dev-master#700bbf22bb325a3ddd10e2fc839feb9b4958387a",
"illuminate/html": "5.0.@dev",
"bllim/datatables": "
",
"mitchellvanw/laravel-doctrine": "0.4.",
"barryvdh/laravel-elfinder": "0.2.
@dev"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
"way/generators": "~3.0"
},
"autoload": {
"classmap": [
"database",
"tests/TestCase.php"
],
"psr-4": {
"App": "app/"
}
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan route:scan",
"php artisan event:scan",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}

Breaks controller namespacing

I tried to run php artisan route:list and got this error:

[ReflectionException]
Class App\Http\Controllers\Barryvdh\Elfinder\ElfinderController does not exist

Ability to change thumbnails directory name

Need to change thumbnails directory (files/.tmb by default) as Apache denies to serve files and folders beginning with a dot.

I checked elfinder options but couldn't find a solution to this issue.

The only solution that came to my mind is to allow .tmb in .htaccess, but it's a bad idea in general. Is there any way to change thumbnails directory path?

Class App\Http\Controllers\Barryvdh\Elfinder\ElfinderController does not exist

Hello,

I just did a fresh install for elfinder and now im getting the following error when i want to add it. Im using laravel 5.

Class App\Http\Controllers\Barryvdh\Elfinder\ElfinderController does not exist

My router file is a following:

Route::get('/elfinder/tinymce','Barryvdh\Elfinder\ElfinderController@showTinyMCE4');

Any idear on what i do wrong?

Regards,

Robert

GET parameters not getting to elFinderConnector

I kept getting "Unknown command." errors in the elfinder modal. Turned out Laravel had stripped out all native $_GET keys and they were not present at the point the connector needed them (e.g. "action=open", etc.). I got it working by adding this to the controller (at row 78):

$url = \Request::server('REQUEST_URI');
if(strstr($url, '?'))
{
    $bits = explode('?', $url);
    $url = $bits[1];
    parse_str($url, $gets);
    $_GET = $gets;
}

php artisan elfinder:publish

php artisan elfinder:publish

  • no such command.
[RuntimeException]
  Error Output:

    [InvalidArgumentException]
    There are no commands defined in the "elfinder" namespace.

may be it should be:
php artisan asset:publish barryvdh/laravel-elfinder
?

One folder per user dynamically

Hi,

Is there any option to handle dynamically added root per user? I want to make "one folder area" for one logged in user

Standalone popup

Hey!
I just added this package, published it and tried to add the standalone popup with the mentioned colorbox
First of all the default JS for this standalone uses the wrong url
var elfinderUrl = '/elfinder/standalonepopup/';
Secondly it seems like the route is incorrect because the Controller method showPopup() requires and Laravel throws
Missing argument 1 for Barryvdh\Elfinder\ElfinderController::showPopup()

Unable to connect to backend NEW

I'm find an issue from that link : #30

but that is closed.

I'm give an error from elFinder :

Unable to connect to backend.
Backend not found.

i want to learn fatstar how is resolved that ?


How to update elFinder to 2.1_n ? Which folder which archive ?

"barryvdh/laravel-elfinder": "0.1.x",

I'm changed that option to 2.1.x but not find to that version.


Unable to connect to backend in hosting website

Hi i get error Unable to connect to backend. in my hosting website, i don't know why, but when i tried it in my local host it works just fine...

any idea why? and bytheway i tried to instal you package using
"barryvdh/laravel-elfinder": "0.2.x",

but get Problem 1
The requested package barryvdh/laravel-elfinder could not be found in any version, there may be a typo in the package name.

so i tried from my old project
"barryvdh/laravel-elfinder": "0.1.x"

it works fine.. don't know why

How to select a file using tinyMCE integration ?So select button is disable

Hi,,
I will use "laravel-elfinder" package in my project. The package has been set up in success. I have installed latest version of tinymce in my project. Than I have made tinymce integration to elfinder.

I have big problem. I was'nt able find way to select a file on elfinder. Elfinder's select button allways is disable!
screenshot from 2014-06-04 17 26 41
screenshot from 2014-06-04 17 26 57
screenshot from 2014-06-04 17 27 18

Error Unable to connect to backend.

hi i found a problem when trying to upload a file, where the message of the problem is Unable to connect to the backend, and it turns out the problem is because since this function on my filters.php file

Route :: filter ('CSRF', function ()
{
if (Session :: getToken ()! = Input :: get ('csrf_token') && Session :: getToken ()! = Input :: get ('_token'))
{
Route::filter('csrf', function()
{
if (Session::getToken() != Input::get('csrf_token') && Session::getToken() != Input::get('_token'))
{
throw new Illuminate\Session\TokenMismatchException;
}
});

How do I deal with these issues?

glideKey

I am starter in Laravel and maybe my question is very very basic(sorry anyway)

I do all of your instructions for elfinder except this:

(Optional) Add the glideKey also to the config, and verify the key in your glide route using the Glide HttpSignature.

I dont know what is "glideKey" and where is "glide root"...

when I click the ckeditor browse key for browse public/files folder one popup page opens and say "Not Found

The requested URL /elfinder/ckeditor4 was not found on this server.

Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80"

please help me...

"sorry for bad English :) "

change elfinder permissions

can I set elfinder just select file only, I mean disable all elfinder feature like (upload, make new dir, make new text, dll) ?

Call to a member function domain() on a non-object

I am getting the following error when trying to load /elfinder/ckeditor through the ckeditor connector

FatalErrorException in UrlGenerator.php line 440: Call to a member function domain() on a non-object

I have found that doing the following fixes it:
Open the published view
resources/views/vendor/elfinder/ckeditor4.php

and changing the following line (45)

url: '', // connector URL
to
url: '', // connector URL

Currently using laravel/framework f0203bafb

Error with some servers

Hello,
I added to elFinderVolumeDriver.class.php

  1. line: "isset($this->archivers['create']) && "
  2. line: "isset($this->archivers['extract']) && "

because it didn't work on some online servers.
I don't know it is a good solution or not.
I thought it would be help.

Change name to somthing else

thanks for this helpful package but as you know "bundle" is related to laravel 3 and it is confusing.
i suggest elfinder-l4.

Invalid backend configuration. Readable volumes not available.

i Used your package via https://packagist.org/packages/barryvdh/elfinder-bundle,
I got a error Message "Invalid backend configuration.
Readable volumes not available." in screen. When i access console of Mozilla Firefox i got a response as {"error":["errConf","errNoVolumes"],"debug":["Driver \"elFinderVolumeLocalFileSystem\" : Root folder does not exists."]}

i optimized for laravel structured as

\laravel4
...
...
\public_html
\files

Class AssetPublisher in L5

In L5 class AssetPublisher is in :

Illuminate\Foundation\Publishing

in L4 it's in :

Illuminate\Foundation

So autoload doesn't work for L5 for the PublishCommand

Override Config

I am trying to set a root to the currently logged in user:

/files/1/ - user 1's files
/files/2/ - user 2's files

Therefore I tried to override the config in ElfinderController:

\Config::set('elfinder.roots.user.path', public_path().'/uploads/user/'.\Auth::user()->id);
\Config::set('elfinder.roots.user.URL', '/uploads/user/'.\Auth::user()->id.'/');
\Config::set('elfinder.roots.user.alias', \Auth::user()->name);

However, these config values never get used - is there anyway to get this working or am I taking the wrong approach?

localization

hi , I want to translate and change directions of elfinder to rtl...

how I can do this?

Unable to connect Backend - does not have a method 'createDriver'

I tried to browse /elfinder and I got errors from console:
Url: elfinder/connector?_token=....
Errors:
ErrorException in FilesystemManager.php line 232:
call_user_func_array() expects parameter 1 to be a valid callback, class 'Illuminate\Filesystem\FilesystemAdapter' does not have a method 'createDriver'

It simply display error message "Unable to connect backend".

Edited: sorry i have wrong settings when tried to set flysystem (I use local). Topic closed.

Change upload dir outside package

Hi!

Is it possible to change the upload without changing the config file in the package?
I would like to change 'dir' => 'files' to something else.

Thank!

new tag

Hello

Version with tag 1.1.x is using \BaseController as a parent class for ElfinderController, we have BaseController with a namespace (and we'd like to keep it that way), and preferably we would like to avoid adding extra controller for elfinder only, furthermore I saw you merged a pull request with a desired change (from \BaseController to \Controller)

It would be great if we can keep our requirements more specific than dev-master, so would it be possible to add new tag to the package (e.g 1.2.0) ?

thanks

regards
Lukasz

Config $options array has no effect.

Hi,

I can't manage to get anything customized using the $options array in the config file.
'resizable' => false doesn't do anything.
However if I modify resources/views/ckeditor4.php by adding resize: false before the locale it works.

Thanks.

Possible conflict in default publish package folders

In Barryvdh\Elfinder\Console\PublishCommand the default publish package folder is "packages/barryvdh/elfinder" (line 55), in Barryvdh\Elfinder\ElfinderServiceProvider it is "packages/barryvdh/laravel-elfinder" (line 62)

TinyMCE 4.x

Hi.
In function elFinderBrowser there is no elfinder_url to change...
Could you please explain in more details how to add elfinder to Tinymce.

Restrict file types

Could you updated the readme.md with a short description how it is supposed to be done?

Issue in routing using TinyMCE4

Hi, thanks for your work!

I'm in trouble with your package and TinyMCE4. I've loaded tinymce4 using common js package downloaded from tinymce.com and I've already installed your elfinder package via composer.
Obviously I'm using a form and inside of this there is a textarea that was initialized with tinymce, and the action param of this form is {{ URL::to('admin/posts/create') }}.
If i don't load elfinder using tinymce's filemanager button when i submit this form a request is admin/posts/create was correctly done, If i load elfinder and press submit button, a request to elfinder named route is done! It's a "common" problem? How can I solve this?

Thank you!
Andrea.

MethodNotAllowedHttpException on windows open (TinyMCE)

Hello,

When I click on 'image' button then on 'browse' button in TinyMCE 4, it opens a window with title 'elFinder 2.0' and a MethodNotAllowedHttpException exception.

I've completed 'Installation', 'Configuration', 'Views' and 'TinyMCE 4.x' steps. Is there something else to do?

Thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.