15
To remove right block, I have change the
$xoopsOption['show_rblock'] = 0;
to
$xoopsTpl->assign('xoops_showrblock', 0);
it work perfectly to remove right block...
For those who also like to remove leftblock in yours modules
you can just add this in the theme template:
on the left side before the '<td>'
Quote:
<{if $remove_lblock != 1}>//this the line to add
<td id='leftcolumn'>
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<{include file='default/theme_blockleft.html'}>
<{/foreach}>
<!-- End display center blocks --> <!-- End left blocks loop -->
</td>
<{/if}>//endif this the 2nd line to add here
add this code in the modules to remove the left block
$xoopsTpl->assign('remove_lblock', 1);
Tips: The above force remove of left or right block, if it do not remove the leftblock or rightblock goto the themes and check the code.