iutbay / yii2-kcfinder

KCFinder for Yii2
21 stars 19 forks source link

KCFinder options with CKEditor #4

Open stmswitcher opened 9 years ago

stmswitcher commented 9 years ago

Hello. I have a question about using kcfinder with ckeditor. I've created a class as described in README, but I can't figure out where do I have to place the part with kcfinder options described at the end of readme. Or, what class named "KCFinder" mentioned there. 'couse I cannot find any class with such name in yii2-kcfinder package or in sunhater's package.

TomskDiver commented 9 years ago

I too can't figure out where do I have to place "set KCFinder options using session var, e.g. :..."

rachman123 commented 9 years ago

You can see that at KCFinderInputWidget file

de-salvatierra commented 9 years ago
$kcfOptions = array_merge(KCFinder::$kcfDefaultOptions, [

But when i install through a composer the class KCFinder is not copied into the project. Use KCFinderInputWidget also not possible, since the property is $ksfDefaultOptions not static. Correct repository to class KCFinder also installed

hendrasyp commented 8 years ago

it will never work until you change config.php on /app/assets/xxxxxx/conf/config.php