1
JamesSAEP
Shadowman Theme - How do I change move the center blocks?
  • 2005/5/31 22:38

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Below is the code from the theme.html file on the Shadowman theme. I want to have the ceneter-left and center-right blocks be displayed before the center-center blocks. I have tried moving the code below, but just can't get it to work.
Can someone show me how it should be written?

Quote:


<{if $xoops_showcblock == 1}>


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


<{/if}>


<{$xoops_contents}>


<{if $xoops_showcblock == 1}>


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



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

<{/if}>



Thanks everyone.

2
pod
Re: Shadowman Theme - How do I change move the center blocks?
  • 2005/6/1 0:58

  • pod

  • Quite a regular

  • Posts: 301

  • Since: 2003/4/19



<{if 
$xoops_showcblock == 1}>

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



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



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


<{/if}>


That should do it, assuming you are formatting these after the fact ;)

Or assuming you aren't, you could try...

<{if 
$xoops_showcblock == 1}>
<
table width="100%" border="0" cellspacing="0" cellpadding="0">
  <
tr>
    <
td>
    
<{foreach 
item=block from=$xoops_clblocks}>
<{include 
file="shadowman/theme_blockcenter_l.html"}>
<{/foreach}>
   
    td>
    <
td>
    
<{foreach 
item=block from=$xoops_crblocks}>
<{include 
file="shadowman/theme_blockcenter_r.html"}>
<{/foreach}>
   
    td>
  tr>
table>

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

<{/if}>


Hope this helps :)

3
mczolton
Re: Shadowman Theme - How do I change move the center blocks?
  • 2005/6/8 22:32

  • mczolton

  • Friend of XOOPS

  • Posts: 31

  • Since: 2004/4/27


Did this solve your problem? If not, please PM or email me and I'll see if I can help.

Thanks,
Mark

Login

Who's Online

227 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

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

Latest GitHub Commits