Created
August 13, 2015 07:46
-
-
Save lucasdidthis/25d03756004fd4617461 to your computer and use it in GitHub Desktop.
How to bundle Javascript-files with Contao CMS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* COMBINE THESE JS-FILES */ | |
$GLOBALS['TL_JAVASCRIPT'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/theme_files/js/filename.js|static'; | |
$GLOBALS['TL_JAVASCRIPT'][] = $GLOBALS['TL_CONFIG']['uploadPath'] . '/theme_files/js/filename2.js|static'; | |
/* ... */ | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment