Installing Ckeditor - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: External Resources (https://forum.codeigniter.com/forumdisplay.php?fid=7) +--- Forum: Addins (https://forum.codeigniter.com/forumdisplay.php?fid=13) +--- Thread: Installing Ckeditor (/showthread.php?tid=74189) |
Installing Ckeditor - ronniebel - 08-16-2019 I'm a newbie to CodeIgniter and I'm trying to install Ckeditor in my app. I need step by step instructions for that. Any ideas where I can find that? RE: Installing Ckeditor - Avega Soft - 08-17-2019 (08-16-2019, 09:13 PM)ronniebel Wrote: I'm a newbie to CodeIgniter and I'm trying to install Ckeditor in my app. I need step by step instructions for that. Any ideas where I can find that? Use this guide link http://www.webpreparations.com/how-to-integrate-ckeditor-in-codeigniter-using-bootstrap/ RE: Installing Ckeditor - website - 08-17-2019 it's quite simple, look here: https://github.com/websiteinfo/CodeIgniter-Materialize-Blog-App/blob/master/application/views/posts/edit.php#L15 in form add id="editor1" in textarea (line 15) and https://github.com/websiteinfo/CodeIgniter-Materialize-Blog-App/blob/master/application/views/templates/footer.php#L34 in footer script ckeditor (line 34-37) RE: Installing Ckeditor - ronniebel - 08-17-2019 (08-17-2019, 12:10 AM)Avega Soft Wrote:(08-16-2019, 09:13 PM)ronniebel Wrote: I'm a newbie to CodeIgniter and I'm trying to install Ckeditor in my app. I need step by step instructions for that. Any ideas where I can find that? Thank you very much. This guide is good and I followed every step, but for some reason, the page is not loading. Any ideas? https://spokaneesl.com/ckeditor/ckeditor.php[url=https://spokaneesl.com/ckeditorckeditor.php][/url] RE: Installing Ckeditor - Avega Soft - 08-17-2019 (08-17-2019, 08:20 PM)ronniebel Wrote:(08-17-2019, 12:10 AM)Avega Soft Wrote:(08-16-2019, 09:13 PM)ronniebel Wrote: I'm a newbie to CodeIgniter and I'm trying to install Ckeditor in my app. I need step by step instructions for that. Any ideas where I can find that? Check your app log-file and web-console browser RE: Installing Ckeditor - Wouter60 - 08-18-2019 In CI, you never address php files directly. All url's must point to a controller and a method inside that controller (unless you need the index method). The textarea that you want to combine with CKEditor must be in a view. You load the view in a controller. Example: View is (...)\application\views\test_ckeditor.php Controller is (...)\application\controllers\Editor.php (Keep in mind that a controller must have a name that starts with a capital letter). PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Now, the url is https://spokaneesl.com/editor/test This will show you the page with the CKEditor textarea. The "editor" segment in the url is the controller; the "test" segment is the method (= function) inside the controller. RE: Installing Ckeditor - InsiteFX - 08-18-2019 Classic editor with default styles: Code: <html lang="en"> Classic editor with custom styles: Code: <html lang="en"> RE: Installing Ckeditor - ronniebel - 08-19-2019 Thanks for all your support with this. It was my mistake. The controller from the tutorial was not loading properly because of my routing. That's fixed now and it works. |