Unzipping zip file holding HTML templates within a course doesn't resolve all paths to resources

Arman.V.176 Posts: 14 🌱

When I unpack a zip file holding modified HTML templates in a Brightspace course (Sandbox) it doesn't resolve all paths to resources. For example, the paths to the CSS stylesheets are resolved correctly. It looks something like this:

<link rel="stylesheet" type="text/css" href="/content/enforced/Sandbox/Brightspace_HTML_Template_v3_WH/_assets/thirdpartylib/fontawesome-free-6.1.1-web/css/all.min.css">However, for some script files, e.g. bootstrap.min.js, popper.min.js, jquery.min.js (other scripts files, like the script.min.js and custom.min.js resolve correctly and some images in the footer the paths are not resolved correctly. These paths look something like this:<script src="../_assets/thirdpartylib/bootstrap-4.6.2/js/bootstrap.min.js"></script>Or for the images in the footer, as follows:<footer><img id="logo" src="../_assets/img/webp/logo.webp" alt="Logo" width="128" height="82"> <img id="logo-dark" src="../_assets/img/webp/logo_dark-mode.webp" alt="Logo" width="128" height="82"></footer>I correct the paths manually afterwards, but that's quite a drag :(For what reason do some path not resolve after unpacking the zp files within a Brightspace course? And, more importantly, what can I do to make the paths to these resources resolve correctly?Do other HTML templates users also encounter this problem, occassionally?Kind regards,Arman



  • Alex.V.58
    Alex.V.58 Posts: 44 admin

    Hi Arman, thanks for reaching out to let us know what you're experiencing. We recommend connecting with your institution's IT Help Desk to investigate this further. If you need some help finding that contact information, please send me a direct message and I can assist you with that!