Hello Jensclas
You've given me a simple but efficient lesson on how to make a good support.
I'm sorry not to have written that but rather to realize that the xoops2_install.txt is not clear enough for newbies.
I want to also add that if you had mentioned that research that you had made had not been effective to answer your questions, I would probably not have begun my response in this way.
But what is fact is made then pass to your problem.
First optionYou were right when you had put the javascript code like this:
</table>
<div id="footer"><{$xoops_footer}></div>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
</body>
</html>
Now I can see that you have the same code between the </head> and <body> tags:
<!--
//--></script><script type="text/javascript" src="http://www.jensclassroom.com/include/xoops.js"></script><script type="text/javascript"><!--
//-->
</script>
</head>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://http://www.jensclassroom.com/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
<body>
<table cellspacing="0" id="top">
Don't forget that all changes into your theme.html file will not take effect until you have done the last point I mentioned:
Quote:
- Now you have two choices, you can delete all files into your templates_c folder or you can go into the admin section of XOOPS --> system admin -> Preferences -> General settings -> then set Update module template .html files from themes/your theme/templates directory? to yes.
Go to your Home page and if you edit your website source you should be able to view the code.
Don't forget to set the above option back to no after you are sure that your templates are updated.
Second optionBy the way, I realize that your theme is using a usefull smarty variable ->>
<{$xoops_footer}>.
So you can try another thing:
Go to System Admin -> Preferences -> Meta Tags and Footer and click [Edit].
There, copy the javascript code:
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
and paste it into the Footer section below what already exist so you should have this:
Powered by XOOPS 2.0 © 2001-2003 <a href="https://xoops.org/" target="_blank">The XOOPS Project</a>
<script type="text/Javascript">
<!--
istat = new Image(1,1);
istat.src = "http://<{$xoops_url}>/modules/istats/include/counter.php?sw="+screen.width+"&sc="+screen.colorDepth+"&referer="+escape(document.referrer)+"&page="+location.href;
//-->
</script>
It'll be simpler but if you change your theme and if it doesn't have the smarty variable <{xoops_footer}> you will have to do the first option.
I hope it is clear enough...at least not to confusing!
Still sorry if I wounded you, it was not my intention.
My English is rather old, I learned it 17 years ago, and I rely sometimes on Google which is not always effective.
Friendly