1
fsvomx
Please, Help needed
  • 2004/2/15 1:39

  • fsvomx

  • Just popping in

  • Posts: 2

  • Since: 2004/2/15


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">&nbsp;</td>
<td rowspan="2" width="3px" height="80px" valign="top" bgcolor="#FFFFFF">&nbsp;</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">&nbsp;</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">&nbsp;</td>
<td rowspan="4" width="3px" height="100%" valign="top" bgcolor="#FFFFFF">&nbsp;</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">&nbsp;</td>
<td width="146px" height="25%" valign="top" bgcolor="#800080">&nbsp;</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>

2
hightyde
Re: Please, Help needed
  • 2004/2/15 5:47

  • hightyde

  • Just popping in

  • Posts: 86

  • Since: 2003/7/11


I don't understand your question... are you asking where to put this tag? (The tag basically says if you have enabled some blocks to be shown in the center column, then do this...)

Could you be a bit more specific?

3
fsvomx
Re: Please, Help needed
  • 2004/2/16 11:03

  • fsvomx

  • Just popping in

  • Posts: 2

  • Since: 2004/2/15


Hello and thank you hightyde.

My question is: How and where to place these tags because my theme file when i upload it to the server, it blanks my screen and doesn´t display nothing, then how i make my theme.html file display the info of the website?

All this is due to the creation of the theme for this website: http://www.ann.com.mx/noticias/

I hope Im being especific enough, thanks for again hightyde.

Good luck!