>>  Site Map >>  Forums >>  Addons 7x

Forum module - topics in forum:



Addons 7x - Discussions regarding all other PHP-Nuke addons. 7x



header problem

Hi, I am trying to make my own theme for Quake 4 but I'm having problems. I am using theme sub black but it wont look anything like it when it's finished (just using it as a template) but everytime I upload my header then switch the theme on the screen turns to the background color and there's nothing else, I checked the source and it only puts upto the body tag into it however my code works on it's own, on it's own page.

Here is the original code :
Code: :
<table width="100%" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td bgcolor="#000000"><table width="100%" border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td bgcolor="#212121"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="60%" height="85"><a href="index.php"><img src="themes/subBlack/images/logo.gif" border="0" alt="$sitename"></a></td>
                <td width="40%" height="85" align="right">$showbanners &nbsp;</td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" height="25" background="themes/subBlack/images/cellpic1.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                      <td nowrap><font class="content">$theuser</font></td>
                    </tr>
                  </table></td>
                <td background="themes/subBlack/images/cellpic1.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                      <td nowrap>
<div align="center"><font class="content"><strong>::</strong>&nbsp;<a href="index.php">Home</a>
                    &nbsp;<strong>::</strong>&nbsp; <a href="modules.php?name=Downloads">Downloads</a>
                    &nbsp;<strong>::</strong>&nbsp; <a href="modules.php?name=Your_Account">Your
                    Account</a> &nbsp;<strong>::</strong>&nbsp; <a href="modules.php?name=Forums">Forums</a>
                    &nbsp;<strong>::</strong></font></div></td>
                    </tr>
                  </table></td>
                <td width="150" background="themes/subBlack/images/cellpic1.gif"><table width="100%" border="0" cellspacing="0" cellpadding="4">
                    <tr>
                      <td nowrap>
<div align="center"><font class="content">
                         (had a script here)
                          </font></div></td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
        <tr>
          <td height="3" bgcolor="#212121"><img src="themes/subBlack/images/1px.gif" width="1" height="1"></td>
        </tr>
      </table></td>
  </tr>
</table>
    <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr valign="top">
        <td>$public_msg<img src="themes/subBlack/images/pixel.gif" width="1" height="1" border="0" alt=""></td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
  <td valign="top" width="1" background="themes/subBlack/images/7px.gif">


Here's my code :
Code: :
<center>
<table width=1000 cellpadding=0 cellspacing=0 border=0>
 <tr>
  <td>
   <table width=1000 height=150 border=0 cellpadding=0 cellspacing=0>
     <tr>
      <td width=196 height=150><img src=themes/rquake/images/quake4.jpg></img></td>
      <td width=608 height=150 background=themes/rquake/images/logo.gif align=left valign=top><font color=#ffffff>$theuser &nbsp; $datetime</font></td>
      <td width=196 height=150><object><embed src=themes/rquake/images/movie1.swf height=150 width=196></embed></object></td>
    </tr>
   </table>
  </td>
 </tr>
</table>
<table width=100% cellpadding=0 cellspacing=0 border=0 align=center>
 <tr valign=top>
  <td valign=top width=1 background=themes/rquake/images/7px.gif>


I know it's probably a stupid mistake I'm making but it's my first attemped at making a theme.

I'd be gratfull for abit of info as to what I need to make this header work.






sorry i can't help, but wanted to say kudos for having a go.

i've been toying with the idea of customising a theme to my own ends, but haven't got the confidence or time to try yet.






I aint given up yet Twisted Evil Was just hoping someone would give me the benefit of their experience but I'll work it out either way Smile thx for the reply






sorted Cool






how did you correct it?






The theme is basically held together with a file called theme.php from what I can make out. I changed all the links to the html files to the correct addresses and it worked a treat.

It already looks totally different just got a few more things to change and then I can start on changing the forum theme that comes with it. Should look totally like my own theme then Smile




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS