We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In my local server, I integrate with 2amigos is working well, but in shared hosting, my web cant find browse.php or upload.php
I think, it's because some server cannot generate yii assets or disable access to file like these above, Is this method can be changed ?
'filebrowserBrowseUrl' => $kcfinderUrl . '/browse.php?opener=ckeditor&type=files', 'filebrowserUploadUrl' => $kcfinderUrl . '/upload.php?opener=ckeditor&type=files',
The text was updated successfully, but these errors were encountered:
How you configure? i don't understand official guide
Sorry, something went wrong.
If you want to integrate with amigos CKEditor, please edit File CKEditor (in amigos src)
add use yii\helpers\ArrayHelper; use iutbay\yii2kcfinder\KCFinderAsset;
then in class, add
public $enableKCFinder = true;
protected function registerKCFinder() { $register = KCFinderAsset::register($this->view); $kcfinderUrl = $register->baseUrl;
$browseOptions = [ 'filebrowserBrowseUrl' => $kcfinderUrl . '/browse.php?opener=ckeditor&type=files', 'filebrowserUploadUrl' => $kcfinderUrl . '/upload.php?opener=ckeditor&type=files', ]; $this->clientOptions = ArrayHelper::merge($browseOptions, $this->clientOptions); }
go to function registerPlugin(), insert line if ($this->enableKCFinder) { $this->registerKCFinder(); } on the top
@rachman123 , can we override without changes CKEditor.php (in amigos src) ? when we use composer update next, your configuration will disappeared.
composer update
No branches or pull requests
In my local server, I integrate with 2amigos is working well, but in shared hosting, my web cant find browse.php or upload.php
I think, it's because some server cannot generate yii assets or disable access to file like these above, Is this method can be changed ?
The text was updated successfully, but these errors were encountered: