i should have uploaded the files to modules roots too.
//xoRewritemodule
$xoopsTpl =& $xoTheme->template;
$xoopsTpl->load_filter('output', 'xoRewriteModule');
if (!defined("XOOPS_ROOT_PATH")) {
die("XOOPS root path not defined");
}
// Ensure charset setting
if (!headers_sent()) {
header('Content-Type:text/html; charset='._CHARSET);
}
$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";
?>
You need to edit your header.php file in the root of your XOOPS site to add these lines:
//xoRewritemodule
$xoopsTpl =& $xoTheme->template;
$xoopsTpl->load_filter('output', 'xoRewriteModule');
I added these lines just before these two lines
$xoopsLogger->stopTime( 'XOOPS output init' );
$xoopsLogger->startTime( 'Module display' );
//xoRewritemodule
$xoopsTpl =& $xoTheme->template;
$xoopsTpl->load_filter('output', 'xoRewriteModule');