Re: Why uses CKeditor in Cake 1.3?
Unpack ckeditor to app/webroot/ckeditor, then, in your view: ?php echo $this-Javascript-link('/ckeditor/ckeditor', false);? ?php echo $this-Form-textarea('some_textarea'); ? script type='text/javascript' CKEDITOR.replace('some_textarea'); /script Matt On Fri, May 21, 2010 at 12:53, Celso cels...@gmail.com wrote: Anyone have a example? Thanks, Celso. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Why uses CKeditor in Cake 1.3?
isnt ckeditor with a license and you have to buy it for commercial use 2010/5/21 Matthew Powell php...@gmail.com Unpack ckeditor to app/webroot/ckeditor, then, in your view: ?php echo $this-Javascript-link('/ckeditor/ckeditor', false);? ?php echo $this-Form-textarea('some_textarea'); ? script type='text/javascript' CKEDITOR.replace('some_textarea'); /script Matt On Fri, May 21, 2010 at 12:53, Celso cels...@gmail.com wrote: Anyone have a example? Thanks, Celso. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.comcake-php%2bunsubscr...@googlegroups.comFor more options, visit this group at http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Why uses CKeditor in Cake 1.3?
Thanks Matthew !!! But I would like in a component way... no sucess :( ?php App::import('Plugin', 'CKEditor', array('file' = 'ckeditor'.DS.'ckeditor.php')); App::import('Plugin', 'CKFinder', array('file' = 'ckeditor'.DS.'ckfinder.php')); class CkeditorComponent extends Object { var $controller; function startup( $controller ) { debug(CKEditor); //Do not returns anything $this-controller = $controller; } function create() { $ckeditor = new CKEditor(); $ckeditor-basePath = '/ckeditor/'; CKFinder::SetupCKEditor($ckeditor, '/ckfinder/'); $ckeditor-editor('CKEditor1'); } } And..about license: http://ckeditor.com/license Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Re: Why uses CKeditor in Cake 1.3?
On May 21, 8:52 pm, Celso cels...@gmail.com wrote: Thanks Matthew !!! But I would like in a component way... no sucess :( ?php App::import('Plugin', 'CKEditor', array('file' = 'ckeditor'.DS.'ckeditor.php')); App::import('Plugin', 'CKFinder', array('file' = 'ckeditor'.DS.'ckfinder.php')); class CkeditorComponent extends Object { var $controller; function startup( $controller ) { debug(CKEditor); //Do not returns anything $this-controller = $controller; } function create() { $ckeditor = new CKEditor(); $ckeditor-basePath = '/ckeditor/'; CKFinder::SetupCKEditor($ckeditor, '/ckfinder/'); $ckeditor-editor('CKEditor1'); } } Are you randomly making that code up ...? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en