{"id":21330527,"url":"https://github.com/friendsofredaxo/yform_dropzone","last_synced_at":"2025-07-12T08:32:37.595Z","repository":{"id":37877033,"uuid":"172099885","full_name":"FriendsOfREDAXO/yform_dropzone","owner":"FriendsOfREDAXO","description":"Erweitert YForm für REDAXO um Multiuploads mit Drag \u0026 Drop","archived":false,"fork":false,"pushed_at":"2024-09-09T22:17:40.000Z","size":114,"stargazers_count":24,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T17:12:05.930Z","etag":null,"topics":["dropzone","dropzonejs","php","redaxo","redaxo-addon","upload","uploader","yform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FriendsOfREDAXO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-22T16:38:40.000Z","updated_at":"2024-09-09T22:17:43.000Z","dependencies_parsed_at":"2023-01-23T10:31:44.477Z","dependency_job_id":null,"html_url":"https://github.com/FriendsOfREDAXO/yform_dropzone","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/FriendsOfREDAXO/yform_dropzone","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fyform_dropzone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fyform_dropzone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fyform_dropzone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fyform_dropzone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FriendsOfREDAXO","download_url":"https://codeload.github.com/FriendsOfREDAXO/yform_dropzone/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FriendsOfREDAXO%2Fyform_dropzone/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264962507,"owners_count":23689824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dropzone","dropzonejs","php","redaxo","redaxo-addon","upload","uploader","yform"],"created_at":"2024-11-21T22:20:50.974Z","updated_at":"2025-07-12T08:32:35.687Z","avatar_url":"https://github.com/FriendsOfREDAXO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dropzone Multi-Upload-Feld mit Drag \u0026 Drop für YForm 4\n\n## Übersicht \n\nDieses Addon bindet [dropzone.js](https://github.com/enyo/dropzone/) ein und fügt YForm die Value `dropzone` hinzu. Diese bietet eine Möglichkeit, mehrere Dateien auf einmal hochzuladen. \n\n\n## Features\n\n* Mehrere Dateien in ein YForm-Value hochladen\n* Drag \u0026 Drop Upload im Frontend und im Table Manager\n* Download der Dateien direkt aus der Tabellenübersicht des Table Managers\n* Einschränkung maximale Dateigröße je Datei\n* Einschränkung des Dateityps (Dateiendungen) sowohl clientseitig (Datei-Auswahl-Dialog des Betriebssystems), als auch serverseitig (Validierung)\n\n\u003e **Hinweis:** Es sollte sichergestellt sein, dass der Webspace genügend Speicherplatz hat, um größere Mengen an Uploads problemlos abzuspeichern.\n\n## Erste Schritte\n\n### Setup\n\nNach der Installation ist das Feld in YForm verfügbar.\n\n### Feld hinzufügen (Table Manager)\n\n1. In REDAXO auf `YForm` \u003e `Table Manager` klicken\n2. In der gewünschten Tabelle die Felddefinition editieren\n3. Das Feld `dropzone` hinzufügen und den Instruktionen folgen\n4. Lang-Parameter hinzufügen:\n\n```\n{\n    \"add\":\"Dateien hinzufügen\",\n    \"start\":\"Upload starten\",\n    \"clear\":\"zurücksetzen\",\n    \"dictDefaultMessage\":\"Dateien auf dieses Feld ziehen\",\n    \"dictFallbackMessage\":\"Ihr Browser untersützt leider keine Drag\\'n\\'Drop Datei Uploads\",\n    \"dictFallbackText\":\"\",\n    \"dictFileTooBig\":\"Datei ist zu groß\",\n    \"dictInvalidFileType\":\"Dateityp wird nicht unterstützt\",\n    \"dictResponseError\":\"Ein Fehler ist aufgetreten. Ein oder mehrere Dateien konnten nicht hochgeladen werden.\",\n    \"dictCancelUpload\":\"abbrechen\",\n    \"dictUploadCanceled\":\"Upload wurde abgebrochen\",\n    \"dictCancelUploadConfirmation\":\"Upload wird abgebrochen\",\n    \"dictRemoveFile\":\"entfernen\",\n    \"dictRemoveFileConfirmation\":\"Datei wird entfernt\",\n    \"dictMaxFilesExceeded\":\"Zuviele Dateien\",\n    \"dictFileSizeUnits\":\"mb\"\n}\n```\n\nAnschließend kann das Feld verwendet werden.\n\n## Links und Hilfe\n\n### Hinweise und bekannte Probleme in dieser Version\n\n\u003e **ACHTUNG:** Im Moment muss eine hidden-Value namens `order_id` im Formular vorhanden sein, das einen einmaligen Key generiert. Beteilige dich am Addon, um dieses Problem zu lösen. z.B.: `$yform-\u003esetValueField('hidden', array('order_id',bin2hex(openssl_random_pseudo_bytes(16))));`\n\n\u003e Es wird jQuery benötigt.\n\n\u003e Die Einstellung \"Pflichtfeld\" ist ohne Funktion\n\n## Debugging\n\nWenn was mit der Dropzone clientseitig schief läuft, ist das Problem entweder in der mitgelieferten JS-Datei in `/assets/addons/yform_dropzone/js/`, oder serverseitig in der API unter `/redaxo/src/addons/yform_dropzone/lib/`.\n\nErster Ansatz: Browser-Developer-Console liefert beim Fehler zusätzliche Infos als JSON in der Response, z.B. bei der Validierung (Dateigröße, Formate, oder, ob die Datei bereits vorhanden war).\n\nMeist stimmt einfach was mit den Parametern der Validierung nicht.\n\n## Bugmeldungen Hilfe und Links\n\n* Auf Github: https://github.com/FriendsOfREDAXO/yform_dropzone/issues\n* im Forum: https://www.REDAXO.org/forum/\n* im Slack-Channel: https://friendsofREDAXO.slack.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofredaxo%2Fyform_dropzone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffriendsofredaxo%2Fyform_dropzone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffriendsofredaxo%2Fyform_dropzone/lists"}