heimrichhannot-contao-components / dropzone-latest
A shim repositoy for dropzone as contao component.
Installs: 585
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:contao-component
Requires
Replaces
This package is not auto-updated.
Last update: 2024-12-20 13:50:01 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';