A shim repositoy for dropzone as contao component.

1.0.1 2018-12-12 11:40 UTC

This package is not auto-updated.

Last update: 2023-02-03 05:36:36 UTC


README

A shim repositoy for Dropzone as Contao Component.

Install

composer require heimrichhannot-contao-components/dropzone-latest

Config

Add the following to your config (keep keys to prevent double integration):

Contao 4

$GLOBALS['TL_JAVASCRIPT']['dropzone'] = 'assets/dropzone-latest/dist/min/dropzone.min.js|static';
$GLOBALS['TL_CSS']['dropzone'] = 'assets/dropzone-latest/dist/min/dropzone.min.css|static';

Contao 3

$GLOBALS['TL_JAVASCRIPT']['dropzone'] = 'assets/components/dropzone-latest/dist/min/dropzone.min.js|static';
$GLOBALS['TL_CSS']['dropzone'] = 'assets/components/dropzone-latest/dist/min/dropzone.min.css|static';