sir, how could i add a default value in this editor? i tried 'value'=>'some text'
and 'defaultValue'=>'some text', but not working , in case of 'defaultValue', it shows ckeditor.defaultValue is not defined and in case of 'value', it is not showing the default value, please help.
Last update is 2009 and we're on 2011 !
This extension doesn't work, with no documentation neither source code comment.
Don't use it until his author update it : waste of time !
i don't get it to run :(
it always breaks at the point the ckeditor should be included without an error message.
i inserted <?php $this->widget('protected/extensions/ckeditor/CKEditor', array(
'model'=>$model, 'attribute'=>'text', 'language'=>'de', 'editorTemplate'=>'full',
)); ?>
in the content-view. the path should be the right one, because if i change i get an exception that the extension is not valid...
@nayjest: couldn't it be caused by ckeditor in general? try to implement ckeditor directly into the view-file and take the page generation time once again.
Возникла необходимость аяксовой загрузки формы с ckeditor'ом, при загрузке ck не мог найти ни файлы конфигурации, ни темы, ни плагины - неправильно определяются пути к ним. Решил так: Yii::app()->clientScript->registerScript("id","var CKEDITOR_BASEPATH='{$assets}/'",CClientScript::POS_BEGIN); - где $assets - путь к опубликованным файлам ck. Думаю имеет смысл добавить нечто подобное в контроллер, мелочь конечно, но несколько часов на воскуривание api ckeditor'а ушло чтобы решить проблему.
I may just not be using it correctly, but my attempts at using a custom configuration file have failed. I hope you'll add support for this in the future. Other than that, it's great.
Total 20 comments
Is there any other updated version of this? because this version is very outdated.
sir, how could i add a default value in this editor? i tried 'value'=>'some text' and 'defaultValue'=>'some text', but not working , in case of 'defaultValue', it shows ckeditor.defaultValue is not defined and in case of 'value', it is not showing the default value, please help.
Thanks in advance :-)
Last update is 2009 and we're on 2011 ! This extension doesn't work, with no documentation neither source code comment. Don't use it until his author update it : waste of time !
CKEditor.php 72: private $skin='kama'; => public $skin='kama'; 90: if(isset($this->allowedLanguages[$language])) => if(isset($this->allowedLanguages[$this->language]))
i don't get it to run :( it always breaks at the point the ckeditor should be included without an error message.
i inserted <?php $this->widget('protected/extensions/ckeditor/CKEditor', array( 'model'=>$model, 'attribute'=>'text', 'language'=>'de', 'editorTemplate'=>'full', )); ?> in the content-view. the path should be the right one, because if i change i get an exception that the extension is not valid...
@nayjest: couldn't it be caused by ckeditor in general? try to implement ckeditor directly into the view-file and take the page generation time once again.
This widged have low performance. My page generation time is ~0.2 without this widget and ~0.8 with it. So maby it need some optimisation.
it's a good extensions but it would be nice to have CKFinder with file browser and image upload functionalities.
Can the creator of this extension update it to the latest version of the product. Thanks. Nice extension btw
Ok, I'll fix that
For fix bug with skin variable, you must download this Fixed and updated ckeditor
This extension has $skin property which conflict with $skin property of parent class. You should rename $skin to something else to get it work.
Здраствуйте, я являюсь автором этого расширения. Можете подробней описать проблему/выслать на почту пример. Мой e-mail - ekstazyst@gmail.com
Возникла необходимость аяксовой загрузки формы с ckeditor'ом, при загрузке ck не мог найти ни файлы конфигурации, ни темы, ни плагины - неправильно определяются пути к ним. Решил так: Yii::app()->clientScript->registerScript("id","var CKEDITOR_BASEPATH='{$assets}/'",CClientScript::POS_BEGIN); - где $assets - путь к опубликованным файлам ck. Думаю имеет смысл добавить нечто подобное в контроллер, мелочь конечно, но несколько часов на воскуривание api ckeditor'а ушло чтобы решить проблему.
Hi,
I may just not be using it correctly, but my attempts at using a custom configuration file have failed. I hope you'll add support for this in the future. Other than that, it's great.
-Charlie
Uploaded new version with bug fixes.
The one is for F_CKEditor, the other for CKEditor (fckeditor-integration), this one for the CKEditor.
In fact the fckeditor-integration would only work for FCKEditor 2.X, with Version 3 the FCKEditor was renamed to CKEditor.
The CKEditor doesn't come with an php-File I used to integrate the editor to YII.
Christian PS: I wrote the fckeditor-extension
You're welcome to spoke any language you want as long as you are sure we would understand it :)
It's assumed that an extension should work out of the box, this one is not an exception. That's why I reported some to samdark.
Down to business: what's the difference between these extensions?
yep, code has some defects, but they are easy to detect and to fix, anyone use this extension?
p.s.ничего что я на английском?:)
CKEditor.php строка 98: вместо $value - $options
Leave a comment
Please login to leave your comment.