8
I guess it is possible to have the first x center-center blocks shown before center-right and center-left and then the rest of the center-center blocks shown after that or after the main contents.
This, however, will include some Smarty programming, which I am not entirely sure is a good idea
Smarty is great for looping through complete arrays, but not very suited for while and for loops
something you could do is:
<{if $xoops_showcblock == 1}>
<{counter name='centerblockcount' assign='centerblockcount'}>
<{foreach item=block from=$xoops_clblocks}>
<{if $centerblockcount < 5}> //or how many blocks you want displayed
<{include file....}>
<{/if}>
<{counter}> //increment counter
<{/foreach}>
<{/if}>
Then insert the code for the center-left and center-right blocks and main contents if you want before this snippet:
<{if $xoops_showcblock == 1}>
<{counter name='centerblockcount2' assign='centerblockcount2'}>
<{foreach item=block from=$xoops_clblocks}>
<{if $centerblockcount2 > 5}> //notice: now LARGER than
<{include file....}>
<{/if}>
<{counter}>
<{/foreach}>
<{/if}>
There may be a smarter way to do this - I'm just whipping this up fast. If there are problems with it, it is most likely due to mistypings - check out
http://smarty.php.net for correct syntax