Ergebnis 1 bis 3 von 3

Thema: Fine Uploader - uploaderLimit - gleichzeitig mehrere Dateien auswählen

  1. #1
    Contao-Fan Avatar von Fulano
    Registriert seit
    14.09.2010.
    Beiträge
    459
    Partner-ID
    7000

    Standard Fine Uploader - uploaderLimit - gleichzeitig mehrere Dateien auswählen

    Hallo,

    in einer Contao 4.9 wird der fineuploader von terminal42 gmbh genutzt.
    Das Modul läuft soweit einwandfrei, allerdings lässt sich immer nur eine Datei hochladen.

    In der Beschreibung zum Modul wird auf folgende Konfigurationsdaten verwiesen:

    Code:
    $GLOBALS['TL_DCA']['tl_table']['fields']['myupload'] = [    'label'     => &$GLOBALS['TL_LANG']['tl_table']['myupload'],
        'exclude'   => true,
        'inputType' => 'fineUploader',
        'eval'      => [
            'multiple'          => true,                        // Allow multiple files to be uploaded
            'storeFile'         => true,                        // Store the files on the server
            'uploadFolder'      => 'files/uploads',             // Upload target directory (can also be a Contao file system UUID)
            'useHomeDir'        => true,                        // Upload to the current logged in member home directory (overrides "uploadFolder", can also be a Contao file system UUID)
            'uploaderLimit'     => 4,                           // Maximum files that can be uploaded
            'maxConnections'    => 3                            // Maximum allowable concurrent requests
            'addToDbafs'        => true,                        // Add files to the database assisted file system
            'doNotOverwrite'    => true,                        // Do not overwrite files in destination folder
            'debug'             => true                         // Enable the debug mode (always true in development environment)
            
            // Validation
            'extensions'        => 'pdf,zip',                   // Allowed extension types
            'minlength'         => 1048000,                     // Minimum file size
            'maxlength'         => 2048000,                     // Maximum file size (ignored if you use chunking!)
            'maxWidth'          => 800,                         // Maximum image width
            'maxHeight'         => 600,                         // Maximum image height
    
            // Chunking
            'chunking'          => true,                        // Enable chunking
            'chunkSize'         => 2000000,                     // Chunk size in bytes
            'concurrent'        => true                         // Allow multiple chunks to be uploaded simultaneously per file
            
            // Rendering
            'imageSize'         => [160, 120, 'center_center'], // Thumbnail image size that is generated upon image upload
            'isGallery'         => true,                        // Display the widget as image gallery
            'isDownloads'       => true,                        // Display the widget as file list
            'sortable'          => true,                        // Make the uploaded files sortable
            'uploadButtonTitle' => 'Upload',                    // Custom upload button title
    
            // Upload the files directly to the destination folder. If not set, then the files are first uploaded
            // to the temporary folder and moved to the destination folder only when the form is submitted
            'directUpload'      => true,
        ],
        'sql' => "blob NULL" ];
    Ich nehme an das der Wert für uploaderLimit angepasst werden muss. Über das Backend konnte ich keine Einstellung dazu finden.
    Frage: Muss das direkt in der Konfigurationsdatei geändert werden? Wo finde ich diese Datei? Sind Änderungen update-sicher?

  2. #2
    Contao-Nutzer
    Registriert seit
    05.11.2015.
    Beiträge
    46

    Standard

    Ich habe die gleiche Frage.

  3. #3
    Contao-Fan
    Registriert seit
    09.02.2011.
    Beiträge
    602

    Standard

    Im Formular bei Feldtyp "Fine uploader" müßt ihr eigentlich nur die Mehrfachauswahl anhaken

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •