Having a JavaScript file as Inline Code will allow you to easily add/change the functionality of your site, page, or module
-
Login to Agility.
-
Navigate to Settings > Inline Code.
-
Click on the JS Tab.
-
Click the New+ button near the top of the action bar.
-
Fill in the Title and Reference Name for the Template and add in your JS to the Code field. Script tags are not necessary in this input. You may also optionally check the box labelled Minify to compress your file when it is served by your website.
-
Click Save to allow the js to be available for preview, or click Publish to save, publish, and sync to the production web server.
Comments
Please sign in to leave a comment.