Put..
- Code: Select all
<link rel="stylesheet" href="<?php echo $mosConfig_live_site;?>/itemstats/templates/itemstats.css" type="text/css">
<script type="text/javascript" src="<?php echo $mosConfig_live_site;?>/itemstats/overlib/overlib.js"><!-- overLIB © Erik Bosrup --></script>
(no line breaks) in your index.php to the template.. after the </body> tag.. (remember the trailing </script> tag)
and put..
- Code: Select all
include($GLOBALS['mosConfig_absolute_path'] . '/itemstats/phpbb_itemstats.php');
in your joomla_dir/components/com_content/content.php (in the start of the file)
and in the same file..
- Code: Select all
// show/hides the intro text
$row->fulltext = itemstats_parse($row->fulltext);
if ( $params->get( 'introtext' ) ) {
// Parse text for ItemStats mod
$row->introtext = itemstats_parse($row->introtext);
$row->text = $row->introtext. ( $params->get( 'intro_only' ) ? '' : chr(13) . chr(13) . $row->fulltext);
} else {
$row->text = $row->fulltext;
}