1
I have create a php file with this code
if (file_exists("mainfile.php"))
{ include("mainfile.php");
} elseif(file_exists("../mainfile.php")) {
include("../mainfile.php");
}
else { include("../../mainfile.php");
}
include(XOOPS_ROOT_PATH . "/header.php"); include_once XOOPS_ROOT_PATH.'/class/template.php'; include_once(XOOPS_ROOT_PATH.'/modules/worldcup/blocks/items_spot.php'); $result = worldcup_items_spot_show(explode('|','1|5|0|0|1|1|bullet')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:worldcup_items_spot_slide.html'); include_once XOOPS_ROOT_PATH.'/class/template.php';
include_once(XOOPS_ROOT_PATH.'/modules/worldcup/blocks/items_columns.php'); $result = worldcup_items_columns_show(explode('|','2|0|4|256|normal')); $tpl = new XoopsTpl(); $tpl->assign('block', $result); $tpl->display('db:worldcup_items_columns.html');
?>
include(XOOPS_ROOT_PATH . "/footer.php"); ?>
At the moment the theme that comes up is the Default Theme which I have set in the General Settings.
Now I am using Defacer to be able to use different themes to different modules. This works fine.
The problem with the code above is that I need to point it to one of my other Themes than the default Theme
Any ideas!!!