Fulvio Di Stefano Posted September 5, 2016 Posted September 5, 2016 Hi,we experiment a problem to integrate a javascript code to make some ads following on our forum.In added the code who need to be added in header template in the global template.Once pasted, when i save the global template there is no problem :https://db.tt/3UYAwwehBut i go to the public site and i look the source of the page there is a closing tag missing :https://db.tt/1cI90LYSIf you look to the fourth line you can see at the end there is the </scr missing.We don't udnerstand why, someone can help me? The same code on a simple html page works fine...
steve00 Posted September 5, 2016 Posted September 5, 2016 is there a reason you are using '<src'+'ipt src= instead of <script src= have you tried it as I have posted above to see if solves problem ? perhaps there is a genuine reason why (as not a coder then forgive my ignorance)
Fulvio Di Stefano Posted September 5, 2016 Author Posted September 5, 2016 people who wrote this code are coders... and i'm not totally :/ probably code should be written like this..i'll suggest them.. thanks
TSP Posted September 6, 2016 Posted September 6, 2016 Writing script-tags like those are quite common. ( '<scr'+'ipt' ), because... reasons... google it, not really able to explain it myself. It seems more likely the IPS template system for some reason chokes on some of it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.