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-kinstitle>
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">
<{foreach item=block from=$xoops_lblocks}>
<div class="<{cycle values="blockTitle"}>"><{$block.title}>div>
<div class="blockContent"><{$block.content}>div>
<p>
<{/foreach}>
td>
<center>
<td id="centercolumn" width="500" bgcolor="#993366" valign="top">
<{if $xoops_showcblock == 1}>
<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">
<{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}>
td>
tr>
<tr>
<td id="centerLcolumn">
<{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}>
td>
<td id="centerRcolumn">
<{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}>
td>
tr>
table>
<{/if}>
<div id="content"> <{$xoops_contents}> div>
td>
center>
<td id="rightcolumn" width="150" bgcolor="#993366" align="right" valign="top">
<{foreach item=block from=$xoops_rblocks}>
<div class="<{cycle values="blockTitle,blockTitle"}>"><{$block.title}>div>
<div class="blockContent"><{$block.content}>div>
<p>
<{/foreach}>
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).