6
I did, couple times ... but my first question was more about variable $block for using in theme.html, than about block templates, which I know, that I can easily modify etc...
I guess my english is getting worse every day... sorry for that ... but one more try ...
On this page is basicaly what is this all about:
http://xoops.zpc.cz/dev/csslayout/test.htmlThere you can see the left and right menu blocks ... they don't have any padding inside the .blockContent DIV which is INSIDE the theme.html:
...
<{foreach item=block from=$xoops_rblocks}>
<div class="rightblock">
<div class="blockHead"><{$block.title}>div>
<div class="blockContent"><{$block.content}>div>
div>
<{/foreach}>
...
but you can see that the other modules should have the padding ...
Now, what should I do ... change the code inside theme.html to something like this:
...
<{foreach item=block from=$xoops_rblocks}>
<div class="rightblock">
<div class="blockHead"><{$block.title}>div>
<{$block.content}>
div>
<{/foreach}>
...
and modify all templates of blocks on my site - adding the div into every one of them with any variety of css classes as I wont ... right?
<div class="blockContent">...original block-template content...div>
so I could have in my MENU block-templates:
<div class="blockMenu">...original menu block-template content...div>
That is what I call pain in ... you know where ...
did you get my point? do I really have to do it that way?