Jump to content

Featured Replies

Posted

Hello there,

If I created a js file with pages, how can I add it to the theme? Shouldn't it be something like

{template="includeJS" app="cms" file="file.js" type="js"} ?

Please see the following Guide on how to utilize custom Javascript/CSS in Pages: 

 

  • Author
3 hours ago, Jim M said:

Please see the following Guide on how to utilize custom Javascript/CSS in Pages: 

 

Thanks, but I mean to include the js files in the invisioncommunity theme, the forums, etc...

1 minute ago, DanielFb said:

Thanks, but I mean to include the js files in the invisioncommunity theme, the forums, etc...

To utilize with a theme, you would want to include it in the theme rather than Pages. The Pages method is really only for Pages.

  • Author

Hi Jim,

I wonder what's the best way to create a js file? should I just create an html template file and insert the javascript over there?

Recently Browsing 0

  • No registered users viewing this page.