For several weeks now I've been trying to get the 'StatCounter.com Integration' [1] extension working with foreground, which I really like. And each time I've failed. The only time the extension is called is to appear on line #92 of any page of my website, where its calling the 'Site statistics' in the sidebar. This is the actual coding that appears in the web-page source -
--8<---------------cut here---------------start------------->8--- </li><li class="has-dropdown active" id="p-statcounter"> <a href="#">Site statistics</a> </li></ul> --8<---------------cut here---------------end--------------->8---
However, using the 'vector' skin the same call of statcounter shows -
--8<---------------cut here---------------start------------->8--- </div> <div class="portal" role="navigation" id="p-statcounter" aria-labelledby="p-statcounter-label"> <h3 id="p-statcounter-label">Site statistics</h3>
<div class="body"> <!-- Start of StatCounter Code --> <script> var sc_project=123456; var sc_invisible=0; var sc_security="5abcde3d"; var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www."); document.write("<sc"+"ript type='text/javascript' src='"+scJsHost +"statcounter.com/counter/counter.js'></"+"script>"); </script><script type="text/javascript" src="https://secure.statcounter.com/counter/counter.js"></script><span class="statcounter"><a class="statcounter" href="http://www.statcounter.com" target="_blank"><img src="https://c.statcounter.com/t.php?sc_project=11274564&java=1&security=5a6d142d&u1=96C66B1A959E4FE2CE19F1EB971E96D1&sc_random=0.912624096730724&jg=3&rr=40.31.25.20.14.8.4.4.4&resolution=1920&h=1080&camefrom=https%3A//drugfacts.org.uk/index.php%3Ftitle%3DSpecial%3APreferences&u=https%3A//drugfacts.org.uk/index.php%3Ftitle%3DCocaine&t=Cocaine%20-%20DrugFacts&sc_snum=1&sess=a181b5&p=0" alt="StatCounter - Free Web Tracker and Counter" border="0"></a></span>
<noscript><div><a title="free hit counter" href="http://statcounter.com/free-hit-counter/" target="_blank"><img src="http://c.statcounter.com/11274564/0/5a6d142d/0/" alt="free hit counter" /></a></div></noscript> <!-- End of StatCounter Code --> </div> --8<---------------cut here---------------end--------------->8---
Is there any chance that this could be fixed please, as 'foreground' is a really great skin and I like using it, but I also like my statcounter stats as well. Ideally I'd like both of them to work together which would be really great :).
Oh, and I've redacted the project ID and security ID, which is a bit pointless really because the extension page shows how to access them! :)
Thanks Sharon.
[1] - https://www.mediawiki.org/wiki/Extension:StatCounter.com_Integration