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: 2024-11-08 13:20:40 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';