Osclass forums
Support forums => Themes => Modern => Topic started by: nigelnix1 on August 30, 2014, 12:56:22 pm
-
Hi Guys,
I would like to install the Statcounter code on my Modern theme but can't find the position (/body) as stated on Statcounter installation instructions. Where do I need to install the code?
-
It is on every template page, what do you mean you cannot find it?
Keep in mind that stat counters are perfect backlink building tools for their owners... If you need real analytic tool for your website go for Google or Piwik.
Regards
-
I see only PHP and <div> on every template page of the Modern Theme...can you please point me to a template page where there is a </body> tag? I would really appreciate it. ;)
-
Are you in admin folder??
-
In "Modern Theme" admin folder there are 3 files... header.php, map_settings.php and settings.php , none of which have a </body> tag.
-
ok... I didn't find the </body> tag but I inserted the Statcounter code here:
/public_html/oc-content/themes/modern/footer.php
I downloaded this footer.php file with Filezilla and edited the file in Notepad++ and inserted the Statcounter code at line 41 of the footer.php where the footer div is located. Then uploaded it again.
It is working now, thank you for your responses.