Support » Plugin: Support Tickets » [Plugin: Support Tickets] Multiple file-upload: How to?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Wrong topic!
    Not [Plugin: Support Tickets] but rather [Theme: Quality Control].

    Sorry, my mistake.

    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.

    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. 😉

    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.

    @aden Fraser: No, it don’t works!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Support Tickets] Multiple file-upload: How to?’ is closed to new replies.