ckfinder

php 中Ckeditor 和Ckfinder的配置

淺唱寂寞╮ 提交于 2019-12-06 02:14:44
CKeditor文件 下载 : http://ckeditor.com/download CKfinder文件下载:: http://ckfinder.com/download 页面引用CKeditor,关键代码如下 <script type="text/ javascript " src="ckeditor/ckeditor.js"></script> <textarea cols="80" name=" content " rows="10"></textarea> 至此,默认版CKeditor就已经安装部署好了,此时你可以通过修改/ admin /ckeditor/ckeditor.js来配置编辑器,如字体、背景色、 语言 、界面高宽、编辑器按钮分布等,详细参数见官方文档: http://docs.cksource.com/ckedito ... #.autoUpdateElement 把需要设置的内容加入此函数中间即可。 CKEDITOR.editorConfig = function ( config ) { }; 第二:安装配置CKfinder Ckfinder默认配置是不能 上传 文件到服务器的,所以要对ckfinder文件下的config. php 做修改,将其文件里的CheckAuthentication() 返回值return false 改为return

CKFinder 3 Returning Wrong URLs for Selected Files

﹥>﹥吖頭↗ 提交于 2019-12-05 21:50:34
I've encountered a strange problem while integrating the ASP.NET version of CKFinder 3 on my site. I'm creating a modal instance to select a file to populate the value of a field but, instead of the expected URL of "/uploads/images/path/to/image.ext" using getUrl() when the files:choose event is fired, I am instead getting the following URL returned to me and I can't, for the life of me, figure out why or how to fix it. http://domain.tld/path/to/ckf/connector?command=Proxy&lang=en&type=Images&currentFolder=%2Fpath%2Fto%2F&hash=[hash]&fileName=image.ext` If it's relevant, the backend info for

How to use the CKFinder Javascript api?

China☆狼群 提交于 2019-12-05 13:02:29
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. As stated in the Documentation you may not be able to access it directly, instead you should call any Folder API function once CKFinder object has been loaded. Note: the CKFinder

Authenticating Website Members as Users in CKFinder v3

余生长醉 提交于 2019-12-05 12:17:37
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 appears on on my site are only accessible by those certain members but I need an extra level of

JFinal整合CKFinder

早过忘川 提交于 2019-12-05 05:52:30
使用JFinal对之前的系统进行重构,老系统使用了CKEditor+CKFinder编辑器,发现在web.xml中配置ConnectorServlet会被JFinalFilter过滤处理,而且使用JFinal之后也不想在web.xml中增加额外的配置,所以尝试的写了JFinal整合CKFinder的Handler,由于我对CKEditor+CKFinder不熟悉,可能整合的并不完整,这里只当参考,欢迎提供更好的解决方案~~ package com.jfinal.ext.handler; import java.util.Enumeration; import java.util.Properties; import javax.servlet.ServletConfig; import javax.servlet.ServletContext; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.ckfinder.connector.ConnectorServlet; import com.hikvision.util.base.PropertiesKit; import com.jfinal.handler.Handler;

CKFinder Authentication issue with laravel 5

时间秒杀一切 提交于 2019-12-04 15:39:59
I'm using Laravel 5. I have folder that references ckfinder in /public/plugins/ckfinder directory. CheckAuthentication function in config.php is I need to use but session value and Auth Class is null. I have tried function CheckAuthentication(){ return Auth::check(); } or //Ckfinder Config.php function CheckAuthentication(){ if($_SESSION['ckfinder_enabled'] == 'enabled') { return true; } else { return false; } } //App\Http\Middleware\Authenticate.php public function handle($request, Closure $next) { if ($this->auth->guest()){ if ($request->ajax()){ return response('Unauthorized.', 401); }else{

PHP中配置Ckeditor+Ckfinder 完成图片上传

こ雲淡風輕ζ 提交于 2019-12-04 05:42:43
用久了fckeditor,看惯了其略显陈旧的界面,听说其弟弟CKeditor更酷更炫,今天就来试试吧。CKeditor文件下载: http://ckeditor.com/download ,目前的最新版本是CKEditor 3.4.2。 CKeditor是完全基于插件,它通过扩展组件以符合具体需求。比如常见的文件上传功能是默认没有的,仅提供了基本的文本编辑功能。要实现图片上传,则需要由另一扩展个组件 CKFinder。 第一:安装配置CKEditor 在扩展CKfinder实现图片上传之前,我们先把最基本的CKeditor编辑器安装一下。 1. 将下载的ckeditor_3.4.2.zip解压,复制目录下的ckeditor文件夹至所需目录,如/admin/。 2. 页面引用CKeditor,关键代码如下 <script type = "text/javascript" src = "http://blog.163.com/chudaozhe@126/blog/ckeditor/ckeditor.js" ></script> <textarea cols = "80" name = "content" rows = "10" ></textarea> 至此,默认版CKeditor就已经安装部署好了,此时你可以通过修改/admin/ckeditor/ckeditor.js来配置编辑器

How to use the CKFinder Javascript api?

匿名 (未验证) 提交于 2019-12-03 08:54:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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, instead you should call any Folder API function

Authenticating Website Members as Users in CKFinder v3

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 appears on on my site are only accessible by

ckfinder php 2.6.2 settings view, display, sorting doesn&#039;t working

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 that the issue was definitely our fault, we fixed