Joomla Itemstats common errors

Joomla/Mambo integration forum

Joomla Itemstats common errors

Postby Thumann » Mon Aug 07, 2006 4:14 pm

Read the itemstats guide.. and make sure it's done like this ^^



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
   } 
 
Last edited by Thumann on Mon Aug 07, 2006 4:41 pm, edited 1 time in total.
Regs. Thumann
http://fc-guild.org | Go Joomla! | Author of the Joomla Integration Guide
Thumann
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 78
Joined: Mon Jul 10, 2006 11:03 pm
Location: Copenhagen, Denmark

Return to Joomla/Mambo

Who is online

Users browsing this forum: No registered users and 0 guests

cron