I am trying to install CKeditor on Kohana 2. I have put the ckeditor folder in libraries and ckeditor Php has put together with ckeditor folder in libraries / I am trying to call the ckeditor in my controller with the following:
$ this-> Ckeditor = new Ckeditor ('FCKEDITOR1'); $ This- & gt; Ckeditor-> Basapath = 'Application / Library / ckeditor /'; $ This- & gt; Ckeditor-> Value = 'This is something & lt; Strong & gt; Sample text & lt; / Strong>. ' ; $ This- & gt; Ckeditor-> Create (); I'm getting the following error and I'm having trouble solving it:
Fatal error: call the undefined method CKEditor :: create ( ) [Redacted the path] /app-admin/controllers/blog.php on line 18
< P> Well, its simple: there is no such task in the CK Editor category.
Also found in the comments:
* Example 1: make the code% CKEditor example and print it with the "echo" function on one page. * $ CKEditor = New CKAditor (); * $ CKEditor- & gt; Return Output = true; * $ Code = $ CKEditor- & gt; Editor ("Editor1", "& lt; p & gt; Elemental Value. & Lt; / p & gt;"); * Resonance "& lt; p & gt; Editor 1: & lt; / p & gt;"; * $ Code echo;
Comments
Post a Comment