How can I get a copy of my CONTENTdm CSS or Javascript files?
Applies to
- CONTENTdm
Answer
Members can get copies of their JavaScript and CSS customizations directly from their website, but not within the Website Configuration Tool. We have outlined the workflow briefly below.
- Go to any CONTENTdm page within one of your collections
- Open the browser Developer Tools
- Locate the Sources (or equivalent) tab
- Open the dropdown from the top-level domain
- Open customizations/global > /js
- Right-click on the JavaScript file and select "Save as..." or "Download"
NOTE: This file is the one located in Custom JavaScript in the Website Configuration Tool - Right-click on the CSS file and select "Save as..." or "Download"
NOTE: This file is the one located in Custom CSS in the Website Configuration Tool
If there is no CSS file, but there should be:
- Locate the Style Editor tab in the Developer Tools
- Filter for the name of the custom CSS
- Right-click on the file and select "Open link in new tab"
- Save the file that was just opened
Additional information
There is more on using custom Javascript and CSS files in CONTENTdm.