ckfinder

How to use the CKFinder Javascript api?

做~自己de王妃 提交于 2020-01-02 05:39:05
问题 Funny question, but i honestly can't acces (for example) the CKFinder.dataTypes.Folder : http://docs.cksource.com/ckfinder_2.x_api/symbols/CKFinder.dataTypes.Folder.html. I have downloaded the CKFinder 2.x demo for asp.net to try the utility out and the only thing intellisense is giving me access to is the window.CKFinder object and some of its methods, but nothing else. I couldn't find Folder in ckfinder.js either. 回答1: As stated in the Documentation you may not be able to access it directly

Customize baseUrl and baseDir in CKFinder

吃可爱长大的小学妹 提交于 2019-12-31 02:11:11
问题 We use CKEditor and CKFinder for Coldfusion in many of our CMS applications. These apps point to different sites on our server, so we want CKFinder setup to upload files to directories specific to each app. But we one want one shared location for the CKEditor and CKFinder files on the server. In the config.cfm file, we have setup the default baseURL and baseDir like this: config.baseUrl = "http://www.oursite.com/_files/site1/ckfinder_uploads/"; config.baseDir = '\\ourserver01\_files\site1

How to pass query string parameters in ckeditor for the picture (ckfinder) button?

夙愿已清 提交于 2019-12-25 19:17:11
问题 I am using ckeditor 3 and ckfinder. When I press on the picture button in ckeditor I see the popup of ckfinder. I can select a picture and it will be inserted in the content of ckeditor. Now I would like to pass some query string parameters in the ckfinder popup. In the connector I would like to read this query string parameter. For example: connectorBuilder.SetAuthenticator(customAuthenticator) .LoadConfig() .SetRequestConfiguration( (request, config) => { var someQueryStringParameter =

ckeditor-ckfinder default attributes (width and height) to uploaded images

非 Y 不嫁゛ 提交于 2019-12-25 04:22:14
问题 When I upload images using ckfinder in the ckeditor the image displays nicely using css width & height. I would like images to have default width and height attributes. How can I accomplish that? 回答1: If I'm not mistaken, CKFinder just uploads the file to the server, and does not changes its resolution! You can however, use/create a plugin for CKEditor to change the image width & height when using the image dialog of CKEditor! Btw: That dialog allows you to change the width and height of the

Customize CKFinder paths dynamically with JS, can it be done?

柔情痞子 提交于 2019-12-25 03:24:48
问题 I'm doing an administrative function to work with CKEditor v4.x and need a file/folder view, upload and selection tool. For the time being I'm using CKFinder as I'd like to avoid writing a complete plugin by myself. However for the purpose I need to be able to switch baseDir and baseUrl dynamically. I tried older code examples like CKFinder.setupCKEditor( editor, { basePath: '/ckfinder/', baseUrl: 'http://www.example.com/mydirectory/', baseDir: '/mydirectory/' } ); But this doesn't work.

How to include CKFinder2 to the php page with SESSION security?

我的梦境 提交于 2019-12-25 02:38:20
问题 I try to include the CKFinder to my web site on PHP. I found official docs: <?php $_SESSION['IsAuthorized'] = TRUE; // simple user authorized $finder = new \CKFinder(); $finder->BasePath = 'http://bow.loc/web/libs/ckfinder2/'; $finder->Create(); But for it work I need to make changes in config.php file: <?php session_start(); /** * This function must check the user session to be sure that he/she is * authorized to upload and access files in the File Browser. * * @return boolean */ function

Set common key prefix for S3 bucket per CKFinder 3 instance

混江龙づ霸主 提交于 2019-12-25 02:15:14
问题 How can I make the CKFinder ASP.net S3 integration load content from a dynamic key prefix rather than just a root location? I'm using CKEditor 5 and CKFinder 3 with the ASP.net Connector to allow image upload directly to an S3 bucket. The web application we are connecting this all to is not an ASP.net application. Setting is up was simple enough by following the documentation. However, our product is SaaS, so each time the CKFinder is launched, I need it to target a different key prefix in

Authenticating Website Members as Users in CKFinder v3

旧巷老猫 提交于 2019-12-22 06:59:58
问题 Before beginning this question, I should point out that my knowledge of ASP.NET & C# is pretty much nil. I'm in the process of trying to integrate the ASP.NET version of CKFinder v3 into a site built in a different language and all is going well so far; I have everything setup as I want it and it's working when I grant unrestricted access to CKF but I'm stuck at the point now of trying to restrict access to it by authenticating only certain members of my site to use it. All the pages that

CKFinder. Rename uploaded files

拜拜、爱过 提交于 2019-12-20 06:37:30
问题 I am using ASP.NET version of CKFinder. I need to rename all uploaded files to names like: file1.jpg, file2.jpg, fileN.jpg. It would be great to write my own custom logic on the server to manage uploaded files, but ckfinder is standalone dll library that i include to my project. I cant figure out how to change config settings on client side in proper way. Is it possible? 回答1: Well, i figured out how to solve my problem. When you download CKFinder zip package from official server there is

ckfinder php 2.6.2 settings view, display, sorting doesn't working

自作多情 提交于 2019-12-18 09:35:07
问题 the example Functions are not working. someone with the same problem? any suggestion? thanks 回答1: There was an unfortunate bug in CKFinder, which was left unattended. We do our best to provide reliable software, but even such weird bugs in software sometimes happen. Once we found out that the bug exists in the setCookie function we released CKFinder 2.6.2.1 for anyone willing to take this occasion to update CKFinder 2.x to the latest stable version which is free of this bug. Also, considering