8
To avoid misunderstandingsNow i share with xoopsers why I create this patch.
I like xoops 2.5.x blocks manager but it has a problem... is not possible to choose blocks weight.
This, usually, is not a problem... but some times ago i created a xoops site (
http://www.caritasbergamo.it) that needed more than 8 blocks areas... in that site now there are 16 blocks areas.
Here the trick I use.
The theme i've realized, puts blocks with a even weight in a area, and puts blocks with a odd weight in an other area... this way I can use 8 areas for blocks with odd weight and 8 areas for blocks with even weight.
Here is the Smarty code I use in my theme
<{if $block.weight is odd}>
...
<{/if}>
<{if $block.weight is even}>
...
<{/if}>
That's why I need to set blocks weight as I want, and that's why I realized this patch. Now I can upgrade my site to Xoops 2.5.x
That's all, folks!
PS: I hope that in future Xoops versions will be possibile to set all blocks areas I need, as in many others cms.