简体   繁体   English

CKEditor 文件上传和浏览器

[英]CKEditor File Upload & Browser

I'm using version 3.4.1, but of course it doesn't come with the file browser like the FCKeditor did.我使用的是 3.4.1 版本,但它当然不像 FCKeditor 那样随文件浏览器一起提供。

I'm looking for a basic asp image uploader script I can use and also wanted to run the procedure by someone who knows about this.我正在寻找一个我可以使用的基本 asp 图像上传器脚本,并且还想由知道这一点的人运行该程序。

My research tells me I need to modify the config.js file to add: config.filebrowserUploadUrl = '../filename';我的研究告诉我,我需要修改 config.js 文件以添加: config.filebrowserUploadUrl = '../filename'; within the function there already. function 里面已经有。

Obviously 'filename' will be my uploader script when I get it.显然,当我得到它时,“文件名”将是我的上传脚本。

Can someone point me in the right direction and whether it's correct to add the URL as above to config.js when i get it?有人能指出我正确的方向吗?当我得到它时,将上面的 URL 添加到 config.js 是否正确?

I can find PHP scrips of course, but no asp as yet.我当然可以找到 PHP 脚本,但还没有 asp。

You can find examples about how to integrate your own file manager in the docs: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_%28Uploader%29/Custom_File_Browser您可以在文档中找到有关如何集成您自己的文件管理器的示例: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_%28Uploader%29/Custom_File_Browser

It's a simple matter of replacing the little php blocks with asp.用 asp 替换小 php 块很简单。

An example template for a php file uploader is here: http://alfonsoml.blogspot.com/2009/12/using-your-own-uploader-in-ckeditor.html php 文件上传器的示例模板在这里: http://alfonsoml.blogspot.com/2009/12/using-your-own-uploader-in-ckeditor.ZFC35FDC70D5FC69D2E268

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM