Welcome Guest, Not a member yet? Register   Sign In
Integrating CKFinder / Load .html with view()
#2

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 (){
            view(ROOTPATH'app/ThirdParty/ckfinder/samples/full-page-open.html');
        }); 
and I get the exception: Invalid file: /var/www/html/blog/app/ThirdParty/ckfinder/samples/full-page-open.html 

If I store it under Views and call:
PHP Code:
$routes->get('/ckfinder',function (){
            view('full-page-open.html');
        }); 
I get a blank page with the Toolbar
Reply


Messages In This Thread
RE: Integrating CKFinder - by jreklund - 05-05-2020, 11:19 AM
RE: Integrating CKFinder - by elserra - 05-05-2020, 11:24 AM
How to returrn a .html file - by elserra - 05-05-2020, 11:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB