PHP code example of heimrichhannot-contao-components / glightbox-gallery
1. Go to this page and download the library: Download heimrichhannot-contao-components/glightbox-gallery library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
heimrichhannot-contao-components / glightbox-gallery example snippets
$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';
$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';