Hello
We're currently evaluating FCKEditor as a possible solution for our product.
I want to provide the following customizations for file uploading and image presentation:
Assuming there is enough info on a client to convert relative URL into a URL with [MY_PLACEHOLDER] macro and vise versa - how such kind of an integration can be done?
Thanks,
Boris Kirzner
We're currently evaluating FCKEditor as a possible solution for our product.
I want to provide the following customizations for file uploading and image presentation:
- On file upload, relative url of a file should include a custom placeholder instead of a base path, i.e. [MY_PLACEHOLDER]/images/1.gif instead of /my_application/my_resources_path/images/1.gif
- Editor should be able to instantly display an images specified in HTML source using such a placeholder
Assuming there is enough info on a client to convert relative URL into a URL with [MY_PLACEHOLDER] macro and vise versa - how such kind of an integration can be done?
Thanks,
Boris Kirzner
Re: Custom integration with file upload and presentation
Re: Custom integration with file upload and presentation
I'm using FCKeditor.Java on Tomcat 6, Java 6.
Thanks,
Boris
Re: Custom integration with file upload and presentation
Well, when will the placeholder be replaced with a real url?
As far as I can understand your idea, it is already possible with FCKeditor.Java. You just have to put following into the fckeditor.properties:
or if you really need it dynamic, you have to implement the UserPathBuilder interface. This would allow you have dynamically create the response url on each request.
If this does not sound as a workable solution, you have to provide more information about your idea. I think if 2.4.1 does not serve, 2.5 should serve it certainly.
Mike