10
Okay. SO what then goes into the main table in theme.html file then? Sorry for being hard headed, but i have built many static sites. nothing this complicated. So i am having troubles understanding all of this. But i need to and want to learn it.
What graphics would i put in the theme.html? Other then the logo.
here is the layout i just redid in dreamweaver to get re-started. From here i can enter the XOOPS code where needed.
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Documenttitle>
head>
<center>
<body>
<table width="100%" height="544" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="544" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/logo.gif" width="885" height="148">td>
tr>
table>
<table width="885" height="392" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="231" height="388" valign="top" background="images/left.gif"> td>
<td width="410" valign="top"><table width="100%" height="389" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>
td>
tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="63%" height="95">
<{foreach item=block from=$xoops_clblocks}>
<{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>
td>
<td width="37%">
<{foreach item=block from=$xoops_crblocks}>
<{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>
td>
tr>
table>td>
tr>
<tr>
<td height="171"> td>
tr>
table>
td>
<td width="248" align="left" valign="top" background="images/right_boxs.gif"> td>
tr>
table>
td>
tr>
table>
body>
center>
html>
If it take the default theme file, i have a layout with nothing but XOOPS code showing. THis is where i'm getting lost. Because im not sure what goes where in what file.
I'm reading what your posting, but i'm not seeing the fit.
so this is what i am doing, please tell me wher ei'm going wrong...
step 1:
create table. inside i put the logo.
step 2:
create table under the logo table. Inside i then create a table with 3 columns. In the left column i put my images for the left side as the background. In the right column, i put my images for the right side as the background.
step 3:
In the center column i add a table. inside this table i put a nother table with 3 rows. In the upper row iput the code for the center-center blocks. in the second row, i add a table with 2 columns. these are for the center left and center right blocks. in the 3rd row i put the code for the module contents. And thenit throws the entire right side off and out of alignment.
So i know i'm messing up somewhere but where, i don't know.