deleting uploaded files
24 posts
• Page 1 of 3 • 1, 2, 3
deleting uploaded filesHi all,
Most things going, java connector etc but cant find a way or any info on how to delete a file / image through the editor after it has been uploaded by the editor. Am i stupid and missing somthing, or do i have to write some code. What do you folks do? Mark
|
RE: deleting uploaded filesYou're not stupid nor missing something... or we both are :p
Removing files is not possible through the FCKeditor. I never saw the possibility anywhere and I just checked the screenshots of the filemanager: http://mcpuk.net/fbxp/?page=screenshots. No remove button on them neither. So I guess someone will have to write it. A context menu within the filebrowser would be nice Freelance webdeveloper, FCKeditor plugin developer. FCKeditor contributor.
FCKPlugins: http://www.saulmade.nl/FCKeditor/FCKPlugins.php FCKSkins: http://www.saulmade.nl/FCKeditor/FCKSkins.php FCKSnippets: http://www.saulmade.nl/FCKeditor/FCKSnippets.php
|
RE: deleting uploaded filesI'll do it for PHP. I've been looking for something simpler than the Konqueror port to tackle
Kae
|
RE: deleting uploaded filesDeleting files within FCKeditor is not very usefull I think.
It can be usefull sure, but : Be carefull as your users will probably delete picture already linked in their posts, and perhaps this will create deadlink .... But it is nice to have the possibility to turn on this future option....
|
RE: deleting uploaded filesThanks folks looks like i will have to get writing!
Mark
|
RE: deleting uploaded filesMy custom browser, available https://sourceforge.net/projects/lfobrowser has the ability to write and open files directly off the server that FCKeditor is running on. Adding a feature to delete would be trivial. I don't see a comprehensive solution for security in the editor itself so I decided not to add it when I first wrote the browser. I'm not talking about security from a "hacker" perspective as much as I am clients who delete things accidentally.
I can get it added in the next couple of days if you want but security would be up to you. Abd my browser only works with PHP on the backend.
|
RE: deleting uploaded filesThanks, but our backend is in java. In our case the ability to delete files is important, if the end use r deletes a file by mistake then that is unfortunate, but their own falt.
Mark
|
RE: deleting uploaded filesI think the mcpuk connector has delete links. It's pretty easy to hack it up to use whatever backend you are using. At least a good example of how someone else did it.
|
RE: deleting uploaded filesBest to warn them, then
here's a start - haven't tied in the Rename and Delete functions yet, but the contextmenu code is written for Firefox (will do IE later). http://verens.com/demos/FCKeditor/_samples/default.html
|
RE: deleting uploaded filesokay - I have a working rename and delete contextmenu for Firefox and PHP. I will get it working in IE tomorrow morning (only Linux machines here!), and for non-PHP servers, just read the changes I made, and paraphrase them in your own connectors.
the example is here: http://verens.com/demos/FCKeditor/_samples/default.html and the zipped filemanager/browser/default directory is here: http://verens.com/demos/FCKeditor/edito ... 060222.bz2 well! that was certainly easier than porting to Konqueror! Kae
|
24 posts
• Page 1 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 2 guests