Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

How to install KC finder? #145

Open
KateKati opened this issue May 12, 2020 · 2 comments
Open

How to install KC finder? #145

KateKati opened this issue May 12, 2020 · 2 comments

Comments

@KateKati
Copy link

I installed KC finder, but probably wrong. It writes Setting unknown property: dosamigos\ckeditor\CKEditor::kcfinder . How can i solve it pleaseeee

@atmanegara
Copy link

this try

  1. download all project kcfinder
    https://github.com/sunhater/kcfinder and extract
  2. create a folder with the name "plugin" on web root, copy folder kcfinder
    image
  3. add this script on clientOptiont
    'filebrowserBrowseUrl' => Yii::getAlias('@web/plugin/kcfinder') . '/browse.php?opener=ckeditor&type=files', 'filebrowserImageBrowseUrl' => Yii::getAlias('@web/plugin/kcfinder'). '/browse.php?opener=ckeditor&type=images', 'filebrowserFlashBrowseUrl' => Yii::getAlias('@web/plugin/kcfinder') . '/browse.php?opener=ckeditor&type=flash', 'filebrowserUploadUrl' => Yii::getAlias('@web/plugin/kcfinder') . '/upload.php?opener=ckeditor&type=files', 'filebrowserImageUploadUrl' => Yii::getAlias('@web/plugin/kcfinder') . '/upload.php?opener=ckeditor&type=images', 'filebrowserFlashUploadUrl' => Yii::getAlias('@web/plugin/kcfinder'). '/upload.php?opener=ckeditor&type=flash', 'allowedContent' => true,

image

then, change file config.php on kcfinder/config
'disabled' => true to 'disabled' => false,
4. success
image

@atmanegara
Copy link

or using https://github.com/alexantr/yii2-elfinder
on ckeditor 2amigos add script on clientoptions

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants