5
yeah thanks guys.. i figured it out by viewin his source on his page.. been tryin to implement into my own theme.. and i've just about done it..
so if anyone else wants to implement into their existing theme then >
enter this into the head section of theme.html
then where u want the switch buttons in the main body use something similar to this >& finally the columns section (will vary depending on your theme tho) ><{if $xoops_lblocks}>
<{foreach item=block from=$xoops_lblocks}> <{include file="/theme_blockleft.html"}> <{/foreach}> <{/if}>
|
<{$xoops_contents}>
<{if $xoops_showcblock == 1}>
<{foreach item=block from=$xoops_ccblocks}> <{include file="/theme_blockcenter_c.html"}> <{/foreach}>
|
<{foreach item=block from=$xoops_clblocks}> <{include file="/theme_blockcenter_l.html"}> <{/foreach}>
|
<{foreach item=block from=$xoops_crblocks}> <{include file="/theme_blockcenter_r.html"}> <{/foreach}>
|
<{/if}>
| <{if $xoops_showrblock == 1}>
<{foreach item=block from=$xoops_rblocks}> <{include file="/theme_blockright.html"}> <{/foreach}> | <{/if}>
again thanks, and thanks to koudanshi for the source code ;)