Support Tickets
[resolved] Multiple file-upload: How to? (6 posts)

  1. illy250
    Posted 5 years ago #

    Is there a (simple) way to enable multiple-file uploads?

  2. illy250
    Posted 5 years ago #

    Wrong topic!
    Not [Plugin: Support Tickets] but rather [Theme: Quality Control].

    Sorry, my mistake.

  3. Spencer Finnell
    Posted 5 years ago #

    Not yet. However the theme uses the built in uploading class, so I think it would just be a matter of looping through multiple fields. Ideally at some point I'd like to implement the flash uploader in the frontend.

  4. illy250
    Posted 5 years ago #

    Thank you for the quick reply. We are looking forward to the flash uploader.

    Meanwhile we try to convince our users to zip their files. ;)

  5. Aden Fraser
    Posted 5 years ago #

    I found this post a few days ago when trying to find a solution.

    After spending countless hours creating arrays, adding loops to the upload and even messing with the wordpress core I actually ended up creating the solution by mistake... here it goes:

    Open up whatever file you'd like to enable multiple uploads (either form-update-ticket.php or form-create-ticket.php).

    Find the input for files and replace it with the following:
    <input type="file" name="ticket_attachment[]" id="ticket_attachment[]"/>

    Now duplicate this as many times as needed.

    A hugely simple solution (just adding squared brackets to the name and id). It worked the charm for me, let me know if you have any troubles.

  6. frborg
    Posted 5 years ago #

    @Aden Fraser: No, it don't works!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Support Tickets
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic