Integrating CKFinder / Load .html with view() |
Hi everybody,
I am trying ot integrate CKFInder in my app. Some questions will be directly CKFinder related, other will be broader, like the first one. I stored the php connector in my server (as in the docs), but under \App\ThirdParty\ckfinder. Now I want to access teh sample sites, i.e. \App\ThirdParty\ckfinder\samples\ckeditor.html. How do I do that? How do I route to a direct html file? I tried via closures, but it does not even parse: PHP Code: $routes->group('ckfinder', ['namespace' => 'App\ThirdParty\ckfinder\samples'], function($routes){
Hi there,
I am trying to show a .html File located under ThirdParty. I am also not able to show the file if it is under View using the view method. I tried this: PHP Code: $routes->get('/ckfinder',function (){ If I store it under Views and call: PHP Code: $routes->get('/ckfinder',function (){
Please keep it to the same thread, it's the same issue. I have now merged your thread a second time.
For anyone wondering, I made some progress:
new route in Config/Routes.php: PHP Code: $routes->group('ckfinder',function($routes) { New Controller in Config/Controllers: PHP Code: class CKFinderController extends BaseController{ I also seem to have some trouble running JS. An intended messagebox appears, but no content... |
Welcome Guest, Not a member yet? Register Sign In |