diff --git a/www/index.php b/www/index.php index ad42efdb9f475b7483f8dd662dbbf2aaa5c02d0a..da2003fa85df0d25c522435ba0c9ff34c5f4a264 100644 --- a/www/index.php +++ b/www/index.php @@ -1,5 +1,5 @@ <?php -$cacheVersion = date('Ymd'); +$cacheVersion = date('Ymd') . 'v'; $search_engine_id = '015236299699564929946:nk1siew10ie'; $config_file = __DIR__ . '/../config.sample.php'; diff --git a/www/templates/5.0/embed.tpl.php b/www/templates/5.0/embed.tpl.php index 91ae4967c23bc699d80891b334866830ecb89d6a..e50f918ce34cc7253a81c8be0cfe5baf8b55496c 100644 --- a/www/templates/5.0/embed.tpl.php +++ b/www/templates/5.0/embed.tpl.php @@ -16,9 +16,12 @@ </main> </body> <script> + require.config({ + paths: { 'unlCMSJs': 'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed' } + }); require([ - 'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed/dcf-utility.js', - 'https://unlcms.unl.edu/wdn/templates_5.3/js/compressed/dcf-tabs.js' + 'unlCMSJs/dcf-utility', + 'unlCMSJs/dcf-tabs' ], function(DCFUtilityModule, DCFTabsModule) { try { // Try DCF ^3.0 format first, then 2.0 format