How to update the JS file in themes

How to update the JS file in themes

Updating an Existing JavaScript File in Themes

Follow the steps below to update a JavaScript (JS) file in your theme and ensure the changes are reflected across all courses.

Prerequisite

  • You must have access to the Admin (Root Account).

Steps

  1. Go to Admin Settings
    • Navigate to the Admin section.
    • Select the Root Account.
  2. Open Themes Page
    • From the root account menu, click on Themes.
  3. Select Active Theme
    • Identify and select the currently active theme.
  4. Access Upload Section
    • Once the theme is selected, go to the Upload tab on the left side.
  5. Locate Existing JavaScript File
    • In the upload section, find the existing JS file (if already uploaded).
  6. Take Backup (Important)
    • Click on View File to open the current JS file.
    • Copy or download the file.
    • Create two copies:
      • One for backup
      • One for making changes
  7. Update the JavaScript File
    • Use the updated JS file provided by the Loree team.
    •  Update the content in your working copy.
  8. Save the Updated File
    • Ensure the updated JS file is saved properly.
  9. Upload Updated File
    • Go back to the Themes page.
    • Click on Select.
    • Upload the newly updated JS file.
  10. Apply the Theme
    • Save the theme changes.
Please find below the video for demo
If You need any help in adding JS file, please contact  support team

    • Related Articles

    • Custom themes management

      Getting started We are happy to introduce the new custom theme management feature in the Loree admin dashboard. Admins can now effortlessly create and manage themes for Loree-built content across their organization and apply them to multiple ...
    • How do I remove duplicated Canvas Page title?

      Learn how to remove duplicated Canvas course page titles via themes with Loree's bonus custom code. To conceal page titles in Canvas LMS using custom CSS and upload/update themes in your instance, follow these steps: Uploading/Updating Themes: Access ...
    • Release notes for Loree - Canvas A2203.10

      Loree Loree Interactive Management We have added an option in the admin dashboard named Loree Interactives. Using this option Loree admin can manage interactives for all the users. Admin can edit the name of an interactive using the edit option or ...
    • Loree - Frequently Asked Questions (FAQ)

      Answers to Your Most Common Queries! Is Loree an LTI? Absolutely! Loree has been developed following the guidelines and specifications of LTI 1.3. Which Learning Management System (LMS) is Loree available for? Loree is accessible to all customers ...
    • Release notes for Loree A2304.5

      08 December, 2023 Table of Contents New Features Enhancements Bug Fixes AI Magic Text Editor Math Equation Smart Color Picker Enhanced Color Picker Preview External audio elements in migrated contents Element preset and spacing Pressing Enter key on ...