You have successfully installed JoomlaStats, but it's seems to do nothing?
Than you probably didn't activate it. This FAQ describes the possible ways to activate JoomlaStats.
There are 3 ways to activate JoomlaStats:
B.t.w. 1: Only 1 method is needed and only 1 should be used.
B.t.w. 2: You can change to an other method anytime.
B.t.w. 3: If no activation methode is used, all data remains, but no new data is collected.
1. By installing and publishing mod_jstats_activate module (recommended)
PRO |
CON |
---|---|
This method allow You disable particular pages from counting. |
Some fine tuning could be necessary depending on used site template. |
This is done by:
- [You should be still logged into the back end (Administration) part of your Joomla site]
- Choose menu item "Modules", then "Site Modules"
- Make sure mod_jstats_activate is published (if there is an x in the row then click on it)
- Module mod_jstats_activate should be activated as first (or as last if performance is required)
2. By adding some lines into the site template
PRO |
CON |
---|---|
Should work on all site templates. |
You have to look at the template code and find the right position. |
This is done by:
- [You should be still logged into the back end (Administration) part of your Joomla site]
- Choose menu item "Site", then "Template Manager", then "Site Templates"
- Mark your default template and select "Edit HTML"
- Insert following text directly after/under the '<body>' statement: (or after </body> tag if performance is required)
For Joomla 1.0.x:
<?php
if (file_exists($mosConfig_absolute_path.'/components/com_joomlastats/joomlastats.inc.php'))
include_once($mosConfig_absolute_path.'/components/com_joomlastats/joomlastats.inc.php');
?>
For Joomla 1.5.x:
<?php
if (file_exists(JPATH_SITE.DS.'components'.DS.'com_joomlastats'.DS.'joomlastats.inc.php'))
include_once(JPATH_SITE.DS.'components'.DS.'com_joomlastats'.DS.'joomlastats.inc.php');
?> - Use the "Save" button
3. By installing and publishing bot_jstats_activate bot/plugin
This method is no longer supported!
PRO |
CON |
---|---|
This is the most easy (and fool-proof) way to activate JoomlaStats. |
You will NOT be able to see the real page-titles within JoomlaStats. |
This is done by:
- [You should be still logged into the back end (Administration) part of your Joomla site]
- Choose menu item "Mambots", then "Site Mambots"
- Make sure bot_jstats_activate is published (is there is an x in the row then click on it)
This method is no longer supported!