Javascript Applications
I have a few applications that I would like to run that are javascript. In the past I have edited the footer twig and added the code directly. However this has to be reapplied every time there is an update to X-Cart. Is it possible to add a 3rd party script somewhere that will run on every page, that isn't a custom module, and doesn't have to be reapplied every time the site is updated? The script I'm trying to run is a 3rd party help chat system. I've also tried applying the script directly to the custom javascript section but the code doesn't run.
Any ideas? Thanks, X-Cart 5.3.2.8 running on Windows |
Re: Javascript Applications
Actually I just got it working in the custom javascript section by removing the beginning and end tags as copied below.
<!--Start of Tawk.to Script--> <script type="text/javascript"> </script> <!--End of Tawk.to Script--> |
Re: Javascript Applications
You can use Theme Tweaker to adjust templates so that upgrades don't overwrite your changes:
http://devs.x-cart.com/en/how-to_articles/how_to_add_google_tag_manager_code_snippets_to_the _store_pages.html However, after every upgrade you should test if the changes still work with the new X-Cart version and don't conflict with the modifications it has introduced. |
All times are GMT -8. The time now is 01:11 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.