1
I have created a custom page with the following 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");
$xoopsTpl->assign('xoops_showrblock', 1); // display right blocks
$xoopsTpl->assign('xoops_showlblock', 0); // display right blocks
?>
my html content here
include(XOOPS_ROOT_PATH . "/footer.php");
?>
Now I want a block on this page. Is it possible? I tried to add $xoopsTpl->assign('xoops_showrblock', 113) (my block id) to the code but it doesnt work.
I know there is a plugin released called blocks everywhere. But this doesnt work here. Only from themes.
I love Xoops!