StatCounter User Forum  
StatCounter Free web tracker and counter

Go Back   StatCounter User Forum > StatCounter FAQ! > Installation

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2009, 05:13 PM
Arne Arne is offline
Master Member
 
Join Date: Sep 2004
Location: Sweden
Posts: 5,463
Default Install StatCounter on Joomla

Install StatCounter on Joomla 1.5
Solution to the problem with StatCounter code showing on web page after installing to Joomla 1.5 found by forum member "Waterloo".

A Joomla extension called Joomla Mod PHP allows you to create and add custom PHP, HTML, JS and CSS to modules. All you need to do after installing the extension in to Joomla, is to paste the generated StatCounter code to it.

Last edited by Arne; 02-11-2012 at 03:28 PM.
Reply With Quote
  #2  
Old 03-16-2011, 06:38 AM
Arne Arne is offline
Master Member
 
Join Date: Sep 2004
Location: Sweden
Posts: 5,463
Default Install StatCounter on Joomla 1.6

  1. Login to Joomla
  2. Select Extensions, then Template Manager, then Site Templates
  3. Click the circle next to the current theme then click the "Edit" button towards the top
  4. Click the "Edit HTML" button in the upper right hand corner
  5. Scroll down to the bottom and paste the code just before the
  6. </body></html> code
  7. Click the Save button at the top
The StatCounter code should now be active on your site.

Depending on the template you currently use, steps 3 and 4 may be slightly different.
Instead of checking current template, straight click on it and then find "Edit HTML" link next to name of template.

After adding counter code, if you receive the error message "file index.php could not be saved"; that directory and file itself don't have writing permissions.
So chmod them from control panel, and then save.
Reply With Quote
Reply

Tags
install, joomla

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.