1
Hello, how can I give blocks another position than the 5 columns "sides" ?
The admin panel only provide left, center-left... right.
I would like to keep them and add another (or more) section that I would place horizontally in the top of the page.
After all that's only a digit in the xoops_newblocks table.
I'd like to do something like this in my template file :
<{foreach item=block from=$xoops_MYTOPblocks}>
<{if $block.title eq "Message du jour"}>
<{$block.content}> •
<{/if}>
<{/foreach}>
The only way right now would be to use a column and then to select the block from its title in one place and to remove it further in the template. Not very beautifull ;)
<{foreach item=block from=$xoops_ccblocks}>
<{if $block.title eq "Message du jour"}>
<{$block.content}> •
<{/if}>
<{/foreach}>
...
<{foreach item=block from=$xoops_ccblocks}>
<{if $block.title neq "Message du jour"}>
<table cellspacing="0" cellpadding="2">
<tr>
<td class="blockContent"><{$block.content}>td>
tr>table>
<{/if}>
<{/foreach}>