Just post up when you have done some more work to your module.
I will install fresh copies of XOOPS 2.0.18 for you and test it again. Very nice work btw...
See it's only local test server...
C:\wamp\www\xoopsbeta\modules\
BentFX wrote:<{if $xoops_contents}>
code here
<{/if}>
<{if $xoops_contents}>
<div id="content">
<{$xoops_contents}>
</div>
<{/if}>
BentFX wrote:
Thanks for the quick reply...
So I assume that in order to remove that empty block I must set another module as the home page?
It would be no big thing, except the theme I've just written makes it very obvious that block is EMPTY!
<?php
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); // 1 to display right blocks, 0 to hide
$xoopsTpl->assign('xoops_showlblock', 1); // 1 to display left blocks , 0 to hide
///////
echo "Your code";
///////
include(XOOPS_ROOT_PATH . "/footer.php");
?>