1
I'm trying to code a custom skin (not a very good one I admit, but I digress) but whenever I upload the theme.html file, it seems to work okay, except the left and right columns don't show up (though any data from the main center column is there, i haven't tried any of those center subcolumns yet).
I did that thing where you combine all the files to one html file (I saw it used on the 7dana-rose skin that I like and tried to do it with this).
Here is the code for the page:
<html>
<head>
<title>Website Title To Go Here Baka-kins</title>
</head>
<body bgcolor="#FFFFFF" text="#000000" background="<{$xoops_imageurl}>bg.gif">
<div align="center">
<center>
<table border="0" width="800" cellspacing="0" cellpadding="0">
<tr>
<td width="800" colspan="3"><img border="0" src="<{$xoops_imageurl}>topbanner.gif" width="800" height="100"></td>
</tr>
</center>
<tr>
<td width="800" colspan="3" bgcolor="#993366">
<p align="right"><font face="Verdana" color="#FFFFFF" size="1"><b><{$smarty.now|date_format:"%A. %B %e. %Y"}></b></font></td>
</tr>
<tr>
<font face="Verdana" size="2"><td id="leftcolumn" width="150" bgcolor="#993366" valign="top">
<!-- Start left blocks loop -->
<{foreach item=block from=$xoops_lblocks}>
<div class="<{cycle values="blockTitle"}>"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<p>
<{/foreach}>
<!-- End left blocks loop -->
</td>
<center>
<td id="centercolumn" width="500" bgcolor="#993366" valign="top">
<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2"> <!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<table align="center" cellpadding="0" cellspacing="2">
<tr>
<td> <div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-center blocks loop --> </td>
</tr>
<tr>
<td id="centerLcolumn"> <!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<table align="center" cellpadding="3" cellspacing="2">
<tr>
<td> <div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-left blocks loop --> </td>
<td id="centerRcolumn"> <!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<table align="center" cellpadding="3" cellspacing="2">
<tr>
<td> <div class="blockTitle"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div></td>
</tr>
</table>
<{/foreach}>
<!-- End center-right blocks loop --> </td>
</tr>
</table>
<{/if}>
<!-- End display center blocks -->
<div id="content"> <{$xoops_contents}> </div>
</td>
</center>
<td id="rightcolumn" width="150" bgcolor="#993366" align="right" valign="top">
<!-- Start right blocks loop -->
<{foreach item=block from=$xoops_rblocks}>
<div class="<{cycle values="blockTitle,blockTitle"}>"><{$block.title}></div>
<div class="blockContent"><{$block.content}></div>
<p>
<{/foreach}>
<!-- End right blocks loop -->
</td>
</tr></font>
</table>
</div>
</body>
</html>
Many thanks to anyone to can help! Sorry that the code is a bit messy. A cross between a WYSIWYG editor (nuuu don't laugh) and putting the HTML in that I need.
(Oh by the way, whenever I switch to a well made skin, including the 7dana-rose one, the left and right columns show up fine, so it's not that they're disabled or anything).