A shim repositoy for glightbox as contao component.

Installs: 1 055

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Language:JavaScript

Type:contao-component

1.0.6 2018-06-27 09:37 UTC

This package is not auto-updated.

Last update: 2023-01-21 20:30:39 UTC


README

Latest Stable Version Total Downloads

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';