Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1263

Allow using rewrite listeners during upload url building

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.1-RC1
    • Component/s: File Uploader
    • Labels:
      None

      Description

      Right now uploader uses 3 urls (defined in inp_edit_swf_upload element) and there is no much control over them from outside. Usually it's not a problem, but with complex mod-rewrite urls there is a need for urls, that uploader uses to be mod-rewrite as well.

      uploadURL : '<inp2:m_t pass="all,$prefix" {$prefix}_event="OnUploadFile" js_escape="1" no_amp="1" />',
      deleteURL : '<inp2:m_t pass="all,$prefix" {$prefix}_event="OnDeleteFile" field_id="#FIELD_ID#" file="#FILE#" js_escape="1" no_amp="1"/>',
      previewURL : '<inp2:m_t pass="all,$prefix" {$prefix}_event="OnViewFile" field="#FIELD#" file="#FILE#" js_escape="1" no_amp="1" />',
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: