barryvdh / laravel-elfinder

elFinder bundle for Laravel
741 stars 171 forks source link

Route CKeditor integration #96

Open tskkh opened 9 years ago

tskkh commented 9 years ago

Hi all, I'm starting with laravel5 and elfinder. I followed the installation steps and want to integrate laravel-elfinder with ckeditor in my application. But I don' t understand where is the route to put:

'elfinder.ckeditor'

Anyone know , please help me on this.

ben-at commented 8 years ago

+1

jedlovescpe2 commented 8 years ago

+1

geowrgetudor commented 8 years ago

You have to add it into your routes.

Example:

Route::get('elfinder/ckeditor', array('uses' => 'Admin@getElFinder'));

and in the Admin controller you have a function that returns the view

public function getElFinder() { return view('elfinder.ckeditor'); // path to ckeditor view }

When you Browse Server into ckeditor image uploader you will see the new screen. Good luck :)