Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 9, 20232 yr 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"} ?
January 9, 20232 yr 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...
January 9, 20232 yr 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.
January 10, 20232 yr 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?