Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Yesterday at 01:29 PM
Colombia Humana Posted January 9 Share Posted January 9 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"} ? Link to comment Share on other sites More sharing options...
Jim M Posted January 9 Share Posted January 9 Please see the following Guide on how to utilize custom Javascript/CSS in Pages: Link to comment Share on other sites More sharing options...
Colombia Humana Posted January 9 Author Share Posted January 9 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... Link to comment Share on other sites More sharing options...
Jim M Posted January 9 Share Posted January 9 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. Link to comment Share on other sites More sharing options...
Colombia Humana Posted January 10 Author Share Posted January 10 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? Link to comment Share on other sites More sharing options...
Recommended Posts