在 http://www.yiiframework.com/extension/ckeditor/ 的基础上集成 CKEditor 和 CKFinder
CKFinder 文件上传修改为 md5 命名。
Documentation ¶
<?php $this->widget('application.extensions.my.ckeditor.CKEditor', array(
'model'=>$model,
'attribute'=>'text',
'language'=>'ru',
'editorTemplate'=>'full',
)); ?>
Change Log ¶
December 1, 2009 ¶
- Initial release.
Re: CKFinder restrictions
So, how to make CKFinder secure to use in Yii?
CKFinder restrictions
This extensions does not takes care of restrictions for CKFinder (ie. list files, mkdir, upload).
So, it's not secure to use this extension
CKFinder is not free
CKFinder is not free but a demo is available.
Pricing is posted here.
http://ckfinder.com/purchase
Free or not
Is CKFinder free or not?
If you only want CKFinder, use this
http://www.yiiframework.com/extension/eimagefinder/
contentCss partial support
contentCss can be an array in CKeditor (not in this version of widget). If expand data type verification for working with arrays in setContentCSS method. And replace checking for empty from $this->contentCSS !== '' to !empty($this->contentCSS) in makeOptions method it will be work correctly with styles array.
ckeditor intergration
please help ,I did follow this link http://www.yiiframework.com/extension/ckeditor-ckfinder#add-comment m coming error like that............
Undefined variable: language
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.