Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Colombia Humana Posted January 9, 2023 Posted January 9, 2023 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"} ?
Jim M Posted January 9, 2023 Posted January 9, 2023 Please see the following Guide on how to utilize custom Javascript/CSS in Pages:
Colombia Humana Posted January 9, 2023 Author Posted January 9, 2023 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...
Jim M Posted January 9, 2023 Posted January 9, 2023 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.
Colombia Humana Posted January 10, 2023 Author Posted January 10, 2023 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?
Recommended Posts