I need some help with a script <script type="text/javascript" src="http://www.carloansjoplin.com/web/trbo/trbo.js">
I placed in a Joomla template at http://twsshosting.com/~dynaredo/ – this should load a promotional layer after 2 page views. It works fine on the test page http://www.carloansjoplin.com/web/trbo/test.html – I also eliminated the possibility that the problem could be the cross domain ajax connection through adjustment of the .htaccess. I tested it on different servers with custom html pages and it works just fine. The same problem comes up with worldpress sites (so it must be a problem with the template engines).
Thanks!!!
It’s because of where you’re importing it. If you see on the test.html page, it’s being imported in the
<head>
.So what you should do is (for Joomla), is import it using PHP like so:
This should be inserted inside PHP tags towards the top of your template.