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
Go to Admin Settings
-
Navigate to the Admin section.
-
Select the Root Account.
Open Themes Page
-
From the root account menu, click on Themes.
Select Active Theme
-
Identify and select the currently active theme.
Access Upload Section
-
Once the theme is selected, go to the Upload tab on the left side.
Locate Existing JavaScript File
-
In the upload section, find the existing JS file (if already uploaded).
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
Update the JavaScript File
-
Use the updated JS file provided by the Loree team.
- Update the content in your working copy.
Save the Updated File
-
Ensure the updated JS file is saved properly.
Upload Updated File
-
Go back to the Themes page.
-
Click on Select.
-
Upload the newly updated JS file.
Apply the Theme
Please find below the video for demo
If You need any help in adding JS file, please contact
support team