11
jlm69
Re: Center Block Order
  • 2004/8/28 1:20

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


O.K. I think I understand now, I'm not sure if you can do that, but when you were trying that at first, with the theme.html the way you had it, did you have the news as your front page and the center/left and center/right blocks set for the top page only. not sure if you can do that though.

12
astrix
Re: Center Block Order
  • 2004/8/28 1:29

  • astrix

  • Just popping in

  • Posts: 30

  • Since: 2004/8/16


yes, my both my center/left blocks were set for the top page only and my news was the front page too..

13
jlm69
Re: Center Block Order
  • 2004/8/28 4:29

  • jlm69

  • Module Developer

  • Posts: 719

  • Since: 2002/7/19


Got it.
I just got home a little while ago and you got me curious so I spent a little time and figured it out. The complete theme.html is below.














<{$xoops_sitename}> - <{$xoops_pagetitle}>




<{$xoops_module_header}>











 








<{/if}>



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





<{if $xoops_showcblock == 1}>







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


<{/if}>




<{$xoops_contents}>


<{if $xoops_showcblock == 1}>






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





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


<{/if}>
<{if $xoops_showrblock == 1}>



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










That should do it.

14
astrix
Re: Center Block Order
  • 2004/8/28 7:10

  • astrix

  • Just popping in

  • Posts: 30

  • Since: 2004/8/16


Hey thanks! That works perfect. I actually tried splitting the <{if}> statement so that i could insert the content block between the center blocks, but i forgot to add a tag just before the first <{if}> which made it not work, so I assumed that wasn't the solution. Thanks again for your help!

Login

Who's Online

238 user(s) are online (175 user(s) are browsing Support Forums)


Members: 0


Guests: 238


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