1
First of all, a big hello to all you guys!
I´m new here and have been looking everywhere for documentation about the themes and i have not encountered nothig about where or how to place this: <{if $xoops_showcblock == 1}> and this: <{/if}> .
Because i´m not a programmer and i´m also beginig to understand xoops.
If some one has been passed through this or have some info about this, could you help me or tell me where to find a solution? Please.
Sorry for any error on my english.
Xoops is my favourite !
Thanks!
This is my theme.html file:
<table border="0" width="780px" height="80px" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td rowspan="2" width="25px" height="80px" valign="top" bgcolor="#FFFF00"> </td>
<td rowspan="2" width="3px" height="80px" valign="top" bgcolor="#FFFFFF"> </td>
<td rowspan="2" width="160px" height="80px" valign="top" bgcolor="#000080"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>images/logo.jpg" alt="<{$xoops_sitename}>" border="0" /></a></td>
<td width="592px" height="60px" valign="top" bgcolor="#000080"><{$xoops_banner}></td>
</tr>
<tr>
<td width="592px" height="20px" valign="top" bgcolor="#00FF00"> </td>
</tr>
</table>
<table border="0" width="780px" height="100%" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td rowspan="4" width="25px" height="100%" valign="top" bgcolor="#FFFF00"> </td>
<td rowspan="4" width="3px" height="100%" valign="top" bgcolor="#FFFFFF"> </td>
<td rowspan="4" width="160px" height="100%" valign="top" bgcolor="#000080">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="10px" width="100%"><div class="blockTitleL"><{$block.title}></div></td>
</tr>
<tr>
<td valign="top" height="30px" width="100%"><div class="blockContentL"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<td colspan="2" width="446px" height="25%" valign="top" bgcolor="#C0C0C0"> </td>
<td width="146px" height="25%" valign="top" bgcolor="#800080"> </td>
</tr>
<tr>
<td colspan="3" width="592px" height="25%" valign="top" bgcolor="#00FFFF">
<div id="contents"><{$xoops_contents}></div>
</td>
</tr>
<tr>
<td id="centerCcolumn" colspan="3" width="592px" height="25%" valign="top" bgcolor="#FF00FF">
<!-- Start center-center blocks loop --><{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="10px" width="100%"><div class="blockTitleCC"><{$block.title}></div></td>
</tr>
<tr>
<td valign="top" height="30px" width="100%"><div class="blockContentCC"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop -->
</td>
</tr>
<tr>
<td id="centerLcolumn" width="223px" height="25%" valign="top" bgcolor="#008080">
<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="10px" width="100%"><div class="blockTitleCL"><{$block.title}></div></td>
</tr>
<tr>
<td valign="top" height="30px" width="100%"><div class="blockContentCL"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-left blocks loop -->
</td>
<td id="centerRcolumn" width="223px" height="25%" valign="top" bgcolor="#000080">
<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="10px" width="100%"><div class="blockTitleCR"><{$block.title}></div></td>
</tr>
<tr>
<td valign="top" height="30px" width="100%"><div class="blockContentCR"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-right blocks loop -->
<{/if}></td>
<td id="rightcolumn" width="146px" height="25%" valign="top" bgcolor="#FF0000">
<{if $xoops_showrblock == 1}>
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" height="10px" width="100%"><div class="blockTitleR"><{$block.title}></div></td>
</tr>
<tr>
<td valign="top" height="30px" width="100%"><div class="blockContentR"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End right blocks loop -->
</td>
</tr>
</table>
<{$xoops_footer}>
<br>