Hi all,
I worked on extending the FCKeditor Java 2.4 Integration package based on my project requirements.According to the requirements the File Browser page should show private space for each user and a shared folder where the user's can share files.
I did it and it works fine now. But I just end up hacking down the code , it was not easily extendable. I will explain the problem.
First when the "browse server" clicked it should show the default private space for the user + a shared folder . In physical terms they are in following directory structure.
User Specific directory,
<context>/userfiles/<user_id>/<resource_type>/
Shared Directory,
<context>/userfiles/shared/<resource_type>/shared/
I just added an overloaded method in the UtilsResponse.constructResponseUrl method to generate the above URL and its fine.
So when the user clicks the " browser server " from the popup the page would show an default empty space that points to <context>/userfiles/<user_id>/<resource_type>/ and a shared directory icon.
So this involves two working active directories, where for now we have support for just one active-directory. It would be nice if we have list of active directories that might have to show up during load , instead of just one.
regards,
Mehmood.Z
I worked on extending the FCKeditor Java 2.4 Integration package based on my project requirements.According to the requirements the File Browser page should show private space for each user and a shared folder where the user's can share files.
I did it and it works fine now. But I just end up hacking down the code , it was not easily extendable. I will explain the problem.
First when the "browse server" clicked it should show the default private space for the user + a shared folder . In physical terms they are in following directory structure.
User Specific directory,
<context>/userfiles/<user_id>/<resource_type>/
Shared Directory,
<context>/userfiles/shared/<resource_type>/shared/
I just added an overloaded method in the UtilsResponse.constructResponseUrl method to generate the above URL and its fine.
So when the user clicks the " browser server " from the popup the page would show an default empty space that points to <context>/userfiles/<user_id>/<resource_type>/ and a shared directory icon.
So this involves two working active directories, where for now we have support for just one active-directory. It would be nice if we have list of active directories that might have to show up during load , instead of just one.
regards,
Mehmood.Z
Re: Extending FCKeditor Java 2.4
mehmoodz,
you are right. The current implementation offer one directory only. You may file a ticket if you like but you should have a look at ticket #28 and #2229. We want to provide for the next major release a implementation free interface for handling files onto arbitrary sources.
You might want to track our work and even contribute ideas and source. We will post our ideas here in the forums.
Thanks for your input.
Re: Extending FCKeditor Java 2.4
Thanks for your reply.Those tickets seems to be requesting for a facade to manage the folders and files internally. But this one would be handling different directories from different locations and showing them up in the same page.This would mean a new feature request ?
regards,
Mehmood.Z
Re: Extending FCKeditor Java 2.4
well there are different but I think we can do both with one implementation. Since you have to provide your own implementation and it's your job to serve the correct content. But open up a new ticket and we will discuss both in the process of making. I guess we will post design proposal in the forums letting the users decide what's best.
Re: Extending FCKeditor Java 2.4
Thanks for the suggestion. I Will post the ticket soon.
regards,
Mehmood.