6
@saidan a link or a screenshot would have been nice, however...
To make columns not visible if no blocks present in default theme:
modify from:
<td id="leftcolumn">
<{foreach item=block from=$xoops_lblocks}>
<{include file="default/theme_blockleft.html"}>
<{/foreach}>
td>
to:
<{if $xoops_showlblock == 1}>
<td id="leftcolumn">
<{foreach item=block from=$xoops_lblocks}>
<{include file="default/theme_blockleft.html"}>
<{/foreach}>
td>
<{/if}>
Same for the right column tho in default theme the "if" smarty are there
The above will make the entire column not visible if there aren't any blocks to show
Everything I'm not made me everything I am
The
Themes