eZ Multiupload and the issue of the order of uploaded files

Author Message

Peter Keung

Thursday 08 October 2009 2:37:03 pm

The scenario is that the user uploads multiple images beneath a particular node, which eZ Multiupload does very well. If the user wants to manually sort those images, they can change the sort method to "Priority".

However, I am trying to figure out the best default "hands-off" approach. Some options:

- You can set the default sort method to "Published" (ascending). However, there is a limitation that I think is common across upload dialog boxes from many applications: the user can try to select an order (with a combination of control-clicking each file and click-dragging their mouse to select multiple files at once) but the order in which the files are actually uploaded follows some unknown or non-existent logic. To get around this limitation, the user can upload each file one by one, still realizing some time savings in the multi-upload interface, but becoming very cumbersome the more files you are uploading at once.

- You can set the default sort method to "Name" (ascending). Then, before the user uploads their images they can prepend numbering to the file names to determine the sort order. Of course, this affects the name on each created object, and you might not want a number in there.

Does anyone know the answer behind the mystery of pre-selecting the order of files in the upload dialog? Or has someone come up with the ideal default approach for letting users order their uploads?

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 14:00:04
Script start
Timing: Jan 19 2025 14:00:04
Module start 'layout'
Timing: Jan 19 2025 14:00:04
Module start 'content'
Timing: Jan 19 2025 14:00:04
Module end 'content'
Timing: Jan 19 2025 14:00:04
Script end

Main resources:

Total runtime0.0136 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.4141152.6563
Module start 'layout' 0.00510.0029 742.070339.5078
Module start 'content' 0.00800.0038 781.578189.3047
Module end 'content' 0.01170.0018 870.882830.3047
Script end 0.0135  901.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002618.9033140.0002
Check MTime0.00128.7308140.0001
Mysql Total
Database connection0.00064.446310.0006
Mysqli_queries0.002417.792230.0008
Looping result0.00000.154710.0000
Template Total0.001511.110.0015
Template load0.00085.898510.0008
Template processing0.00075.212810.0007
Override
Cache load0.00053.723710.0005
General
dbfile0.00021.770480.0000
String conversion0.00000.079140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs