Homec4science

WebSubmit: more support for FCKeditor attachments

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Feb 25 2009, 12:29.

Description

WebSubmit: more support for FCKeditor attachments

  • Parses the input fields for links to files uploaded via FCKeditor, attach these files to the record via FFT, and replaces the links with the newly created local URLs (/recid/files/...).
  • New 'attachsubmissionfile' action for allowing upload of files with FCKeditor during submission.
  • Moved FCKConfig.EditorAreaCSS and FCKConfig.EnterMode variable to the config file so that they can be customized if needed.
  • Use FCKeditor version 2.6.4.
  • Uploaded FCKeditor files go to /var/tmp/ instead of /var/data/, so that they can be collected via FFT.
  • Get temporary files uploaded by FCKeditor from CFG_SITE_URL/submit/getattachedfile/ instead of CFG_SITE_URL/submit/getfile/
  • Added Move_FCKeditor_Files_to_Storage.py function.
  • Fixed docstrings.
  • Try to create icon only if user is authorized to upload files.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 25 2009, 15:51
Parents
R3600:698aa1b10da3: WebSubmit: support files uploaded with FCKeditor.
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:cf04f98e8156: WebSubmit: more support for FCKeditor attachments (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Feb 25 2009, 15:51