Include third party plugin on PhpRad July 09, 2020, 05:22:29 PM Hi, there is any way to integrate a third-party plugin on PHPRad?I want to use the plugin belowhttps://www.tawk.to/I also want to add Google Analytics too.To add Google Analytics, I just need to add this snippet of code in any part of the page.<!-- Google Analytics --><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', 'UA-XXXXX-Y', 'auto');ga('send', 'pageview');</script><!-- End Google Analytics -->The only way to use it is editing manually or there is an alternative way to do that by using some field or form on PhpRad? Quote Selected Last Edit: July 09, 2020, 07:22:18 PM by claudiomg
Re: Include third party plugin on PhpRad Reply #1 – July 09, 2020, 08:13:52 PM @claudiomg you can add the code snippets for the plugins in app/views/layouts/main_layout.php, either within <head> and </head> tag or immediately before the closing </body> tag. thanks. Quote Selected 2 Likes
Re: Include third party plugin on PhpRad Reply #2 – March 27, 2023, 04:45:39 AM Quote from: willvin – July 09, 2020, 08:13:52 PM@claudiomg you can add the code snippets for the plugins in app/views/layouts/main_layout.php, either within <head> and </head> tag or immediately before the closing </body> tag. thanks. hello, how do you install phpword on PHPrad classic? i want to implement phpword in my PHPRad project. Thank You Quote Selected
Re: Include third party plugin on PhpRad Reply #3 – March 27, 2023, 03:10:54 PM Open your project root and use composer to install it into the generated project as indicated in the PHPword docs then you can start writing the code for it manually. Quote Selected