Uploading Javascript File Upload To Supplementary Files for theme configuration

Hi,

I am novice to Telligent, I have question related to javascript file upload for Theme configuration on Telligent 8.5 

I  would like to use the .js file to be added to theme but for this we need to upload .js file to the Supplementary Files. Unfortunately .JS file extension upload is not supported and we get an error that the only file types that are supported are  .jpg, . jpeg, .png, .ttf, .otf, .eot, .css, .svg, .woff, .ico, less. 

Can you please suggest how to reference a .js file at theme level and where the .js extension file can be uploaded if not under supplementary files. 

Thank you & Regards,

Ashish 

Parents
No Data
Reply
  • Javascript files can be uploaded into the site theme in the Javascript Files list. This will include the javascript file on all pages within the theme.

    If you want the javascript file on only select pages, I'd recommend creating a widget that hosts (and optionally configures) the script. Then you can place the widget on any pages that you need it on.

Children
No Data