1
DarkDeath
My Theme Code..... HELP
  • 2003/10/14 7:32

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


For some reason with this theme i cant display right blocks EXCEPT on my main page... they show up on OTHER themes.. jsut not mine... here is my code.. lemme know if ya ned more info (Xoops v2.0.5)

<html>
<
body background="<{$xoops_imageurl}>images/site_bg.gif" text="" link="" vlink="" alink="" topmargin="0">
  
  
      <
table align="center" cellpadding="0" cellspacing="0" width="840" border="0">
      <
tr>
      <
td><a href="<{$xoops_url}>/index.php"><img src="<{$xoops_imageurl}>images/banner.gif" align="center" alt="in tHis Moment..." border="0">a>td>
      <
td align="right"><{$xoops_banner}>td>
      tr>
      table>
 
 
 
      <
table cellpadding="0" cellspacing="0" width="838" border="0" align="center" valign="middle" bgcolor="">
      <
tr>
      <
td bgcolor=""><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0">td>
      tr>
      table>

      <
table cellpadding="0" cellspacing="0" width="838" border="0" align="center" bgcolor="" background="<{$xoops_imageurl}>images/bar.gif" height="25">
      <
tr valign="middle">
      <
td><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="24" height="25" border="0" hspace="0">td>
      <
td><table border="0" cellspacing="0" cellpadding="0"><tr><td width="4" height="25">td>
      <
td nowrap class="artsubhead" align="left">

<{if 
$xoops_isuser}>
      
Welcome <{$xoops_uname}>! | <a href="<{$xoops_url}>/user.php">Edit Profilea> | <a href="<{$xoops_url}>/user.php?op=logout">Logouta> |
<{else}>
      <
a href="<{$xoops_url}>/register.php">Create an accounta> | <a href="<{$xoops_url}>/user.php">Logina> |
<{/if}>
    
    
      <
script type="text/javascript">
      
      
script>

      td>
      <
td width="30" height="25">&nbsp;td>
      <
td align="center" height="25" width="32%"><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="24" height="25" border="0" hspace="0">td><td valign=middle align=right height=0><A HREF="javascript:void(0)" ONCLICK="open('http://www.thisgeneration.com/modules/cjaycontent/content/invite2/invite.php','miniwin','toolbar=0, location=0,directories=0, status=0,menubar=0, scrollbars=0,resizable=0, width=600,height=420')"><img src=<{$xoops_imageurl}>images/smail.gifInvite A FriendA>td>
      <
td width=5>&nbsp;td>
      td>
      tr>
      table>
      tr>
      table>
      <
table background="<{$xoops_imageurl}>images/body_bg.gif" width="840" cellpadding="0" cellspacing="0" border="0" bgcolor="" align="center">
      <
tr>
      <
td>&nbsp;td>
      tr>
      table>
      
      <
table background="<{$xoops_imageurl}>images/body_bg.gif" width="840" cellpadding="0" cellspacing="0" border="0" align="center">
      <
tr valign="top">
      <
td bgcolor="" width="180" valign="top">


     <{foreach 
item=block from=$xoops_lblocks}>
     <{include 
file="BlueBump/theme_blockleft.html"}>
     <{/foreach}>

  
  
      td>
      <
td><img src="<{$xoops_imageurl}>images/pixel.gif" width="15" height="1" border="0" alt="">td>
      <
td width="100%">
  

    


<{if 
$xoops_showcblock == 1}>
      <
table border="0" cellspacing="5" cellpadding="0" width="100%" valign="top" bgcolor=#F3F5F7>
      
<tr class="bg2">
      <
td width="100%" colspan="2" valign="top" bgcolor=#F3F5F7>
       
       

      <{foreach 
item=block from=$xoops_ccblocks}>
      <{include 
file="BlueBump/theme_blockcenter_c.html"}>
      <{/foreach}>

       
       
      td>
      tr>
      <
tr class="bg2">
      <
td width="50%" valign="top" bgcolor=#F3F5F7>
      
      

      <{foreach 
item=block from=$xoops_clblocks}>
      <{include 
file="BlueBump/theme_blockcenter_l.html"}>
      <{/foreach}>

      
      
      td>
      <
td width="50%" valign="top" bgcolor=#F3F5F7>
      
      

      <{foreach 
item=block from=$xoops_crblocks}>
      <{include 
file="BlueBump/theme_blockcenter_r.html"}>
      <{/foreach}>

      
      
      td>
      tr>


      <
tr>
      <
td width="100%" colspan="2" valign="top">
  
      <{else}>
      
      <
table border="0" cellspacing="5" cellpadding="0" cellspacing="0" width="100%" valign="top">
      <
tr>
      <
td width="100%" colspan="2" valign="top" >
      
      <{/if}>
      
      





      <
table width="100%" height="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#F3F5F7">
      <
tr>
      <
td>
      <
table width="100%" height="100%" border="0" cellspacing="1" cellpadding="8" bgcolor="#F3F5F7">
      <
tr>
      <
td bgcolor="#F3F5F7"><{$xoops_contents}>td>
      tr>
      table>
      td>
      tr>
      table>



       td>
      tr>
      table>







      <{if 
$xoops_showcblock == 1}>
  
      td><td><img src="<{$xoops_imageurl}>images/pixel.gif" width="15" height="1" border="0" alt="">td>
      <
td valign="top" width="180">



      <{foreach 
item=block from=$xoops_rblocks}>
      <{include 
file="BlueBump/theme_blockright.html"}>
      <{/foreach}>

  
  
      <{/if}>
    
      td>
      td>
      tr>
      table>
      
      <
table width="838" cellpadding="0" cellspacing="0" border="0" bgcolor="#9999cc" align="center">
      <
tr>
      <
td bgcolor="#DEDEE6"><IMG src="<{$xoops_imageurl}>images/pixel.gif" width="1" height="1" alt="" border="0" hspace="0">td>
      tr>
      table>
      <
br>
      <
table width="838" cellpadding="0" cellspacing="0" border="0" align="center">
      <
tr align="center">
      <
td width="98%" colspan="3" class="artsubhead"><{$xoops_footer}><br /><br />td>
      tr>
      table>
      
body>
html>

2
Herko
Re: My Theme Code..... HELP
  • 2003/10/14 7:50

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Your rightblocks loop is inside an if statement. But if you look closer to that statement you'll see it's set at <{if $xoops_showcblock == 1}>, showcblock, ie. show the centerblock. Change that to showrblock, and perhaps that'll do the trick.

Herko

3
DarkDeath
Re: My Theme Code..... HELP
  • 2003/10/14 12:58

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


your the man!!

Login

Who's Online

243 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits