3
yes, I am. But the header.php in x2.2 is like this now:
"$GLOBALS['xoopsLogger']->context = "core";
// Get blocks
$block_handler =& xoops_gethandler('block');
$block_handler->assignBlocks();
$GLOBALS['xTheme']->checkCache();
if (!isset($GLOBALS['xoopsOption']['template_main'])) {
// new themes using Smarty does not have old functions that are required in old modules, so include them now
include XOOPS_ROOT_PATH.'/include/old_theme_functions.php';
// need this also
$xoopsTheme['thename'] = $GLOBALS['xoopsConfig']['theme_set'];
}
$GLOBALS['xoopsLogger']->context = "module";
?>"
So I don't know where to add the code for stats