I have been experimenting around with the file upload functionality in
FCKEditor and ran into a snag when I upload files.  If I upload an image
the file doesn't show until I save the paragraph.  I'm using I believe
the 3.1 M1, if not 3.1 M2 code.

The problem that is occurring is our setup has the tmp folder
(specifically the magnolia.upload.tmpdir in magnolia.properties) point
to a folder outside of the webapp folder so it never finds it.  The
FCKEditorSimpleUploadServlet explicitly sets the path to be [context
path]/tmp/fckeditor/[etc.] which is fine, but then it falls to looking
in that folder in the webapp which is non-existent.

I was thinking it would be cool to have a servlet that managed the /tmp/
folder, deleting files after a configurable amount of time and resolving
the /tmp/ folder to the value in the magnolia.properties file so it
would work properly.

Would that be the best way to do this or is there something already in
Magnolia that I could use to get this working properly?

Thanks,

Tom

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to