heimrichhannot-contao-components / glightbox-gallery
A shim repositoy for glightbox as contao component.
Installs: 2 076
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Type:contao-component
Requires
This package is not auto-updated.
Last update: 2024-12-22 07:15:27 UTC
README
Shim repository for Glightbox as Contao Component.
Install
composer require heimrichhannot-contao-components/glightbox-gallery
Config
Add the following to your config (keep keys to prevent double integration):
Contao 4
$GLOBALS['TL_JAVASCRIPT']['huh_components_glightbox'] = 'assets/glightbox-gallery/js/glightbox.min.js|static';
$GLOBALS['TL_USER_CSS']['huh_components_glightbox'] = 'assets/glightbox-gallery/css/glightbox.min.css|static';
Contao 3
$GLOBALS['TL_JAVASCRIPT']['huh_components_glightbox'] = 'assets/components/glightbox-gallery/js/glightbox.min.js|static';
$GLOBALS['TL_USER_CSS']['huh_components_glightbox'] = 'assets/components/glightbox-gallery/css/glightbox.min.css|static';