From 2cb6e8eef2cf05e36009769ae3b34f1bb0139ce8 Mon Sep 17 00:00:00 2001 From: spennythug <spencermccoy@unl.edu> Date: Mon, 8 Feb 2016 13:17:14 -0600 Subject: [PATCH] require error fixes --- plugins/unl_theme/start.php | 4 +++- .../views/default/js/{elgg_clean => unl_theme}/js.js | 0 2 files changed, 3 insertions(+), 1 deletion(-) rename plugins/unl_theme/views/default/js/{elgg_clean => unl_theme}/js.js (100%) diff --git a/plugins/unl_theme/start.php b/plugins/unl_theme/start.php index 8b0f5193..0e548dc2 100755 --- a/plugins/unl_theme/start.php +++ b/plugins/unl_theme/start.php @@ -58,11 +58,13 @@ function unl_theme_init() { //Add paths stuff to the requirejs config _elgg_services()->amdConfig->addPath('languages/en', '/elgg/js/languages'); - _elgg_services()->amdConfig->addPath('elgg/reportedcontent', '/elgg/mod/reportedcontent/views/default/js/elgg/reportedcontent'); + //_elgg_services()->amdConfig->addPath('elgg/reportedcontent', '/elgg/mod/reportedcontent/views/default/elgg/reportedcontent'); _elgg_services()->amdConfig->addPath('unl_theme/js', '/elgg/mod/unl_theme/views/default/js/unl_theme/js'); _elgg_services()->amdConfig->addPath('bootstrap', '/elgg/mod/unl_theme/vendors/bower_components/bootstrap/dist/js/bootstrap'); _elgg_services()->amdConfig->addPath('moment', '/elgg/mod/unl_theme/vendors/bower_components/moment/moment'); + + //Reset the base_url //_elgg_services()->amdConfig->setBaseUrl('//unlcms.unl.edu/wdn/templates_4.1/scripts/compressed/'); diff --git a/plugins/unl_theme/views/default/js/elgg_clean/js.js b/plugins/unl_theme/views/default/js/unl_theme/js.js similarity index 100% rename from plugins/unl_theme/views/default/js/elgg_clean/js.js rename to plugins/unl_theme/views/default/js/unl_theme/js.js -- GitLab